C++ Team Blog

C++ tutorials, C and C++ news, and information about Visual Studio, Visual Studio Code, and Vcpkg from the Microsoft C++ team.

Making an Exception

An interesting debate about C++ exceptions took place a few weeks ago in the C++ MVPs discussion list. The trigger was something as innocent and specific as “would you guys just throw std::runtime_exception with some error message string or you define a new exception hierarchy? What’s your opinion on AtlThrow/AtlThrowLastWin32?” But as ...
Comments are closed.0 0
C++

VS2010 SP1 Beta: What’s in It for C++ Developers

 As announced two  days ago by S. Somasegar and Jason Zander, the Visual Studio 2010 Service Pack 1 Beta is now ready for download! Service Pack 1 Beta comes with a “go live” license which means you can start using the product for production related work (see the license agreement with the product for more details). With...
Comments are closed.0 0
C++

ActiveX Test Container Application is Still Available

Hello, I’m Pat Brenner, a developer on the Visual C++ Libraries team.  I’ve noticed some posts on various forums lamenting the loss of the ActiveX Test Container application and I wanted to address those concerns. The ActiveX Text Container tool is still available as a sample in Visual Studio 2008 and Visual Studio 2010.  It is ...
Comments are closed.0 0
C++

MFC applications now default to being DPI-aware

Hello, I’m Pat Brenner, a developer on the Visual C++ Libraries team, mainly responsible for MFC.  I wanted to make you aware of a subtle but meaningful change that we have made regarding MFC applications in Visual Studio 2010: all MFC applications are now marked as ‘DPI aware’ by default.  This means that your application is ...
Comments are closed.0 0
C++

Dialog Editor Improvements in Visual Studio 2010

Hello, my name is Daofa Li, and I am on the Visual C++ QA team. In this post I will be sharing with you the improvements in Dialog Editor for Visual Studio 2010. In Visual Studio 2010, we have improved Dialog Editor in the following features: ·         Add mockup image support to help layout controls ...
Comments are closed.0 0
C++

TechEd Europe Demo Session – Face-Lifting MFC Applications on Windows 7

Hello, My name is Damien Watkins, and I am a Program Manager on the Visual C++ team. Today, I thought I would post the “overview script” for my TechEd Europe session – so those who could not attend can try it out for themselves at home. My talk was about the new MFC features we have added in Visual Studio 2010. Just before we get started...
Comments are closed.0 0
C++

The ATL/MFC Trace Tool and the Tracing Mechanism

Hi, I am Pat Brenner, a Software Design Engineer in the Visual C++ Libraries group.  Some time back I wrote about Spy++.  Today, I am going to write about another Visual Studio debugging tool, the ATL/MFC Trace Tool, and the tracing mechanism that it interacts with in ATL and MFC. The tracing mechanism The tracing mechanism is used ...
Comments are closed.0 0
C++

MFC Updates for Vista Common Controls

MFC has been updated for Visual Studio codename Orcas to handle the new common controls/messages/flags added in Windows Vista.  We have made a number of updates to MFC to wrap the new controls and messages, so when you’re using these new capabilities, MFC will make it easier to code them. Three new MFC classes have been added ...
Comments are closed.0 0
C++

Feedback usabilla icon