Visual C++ docs: the future is… soon!

We on the Visual C++ documentation team are pleased to announce some changes to the API reference content in the following Visual C++ libraries: STL, MFC, ATL, AMP, and ConcRT. Since the beginning of MSDN online, the Visual C++ libraries have documented each class member, free function, macro, enum, and property on a separate web… Read more

MFC Dynamic Dialog Layout

One of the frequently requested MFC features (and by the way, thanks for the feedback and keep it coming!) is the ability to intelligently resize dialogs and their content at runtime. One approach is to intercept WM_SIZE message of the parent dialog and recalculate the size and position of the child controls accordingly. It works,… Read more

ATL and MFC changes and fixes in Visual Studio 2013

Hello, I’m Pat Brenner, a developer on the Visual C++ Libraries team.  In this blog post I would like to share with you the changes that we’ve made in ATL and MFC for Visual Studio 2013. One of the major changes we made was to eliminate the ATL DLL altogether.  All ATL code is now static,… Read more

MFC support for MBCS deprecated in Visual Studio 2013

April 2017 update Regarding our work on migration to VC2015 last year, we decided to remove the warning about MBCS deprecation.We hear you and understand that too many “old and large” MFC projects depend on it and it is too costly for large projects to move to Unicode. For new or small existing projects we definitely… Read more

What bugs were fixed in MFC in Visual Studio 2012?

Hello, I’m Pat Brenner, a developer on the Visual C++ Libraries team. I recently shared some information about the Microsoft Foundation Class (MFC) Library in this blog post. Several people responded to that post asking for a list of bugs that have been fixed in MFC for Visual Studio 2012. Though I cannot provide a… Read more

What’s up with MFC in Visual Studio 2011 Beta

Hello, I’m Pat Brenner, a developer on the Visual C++ Libraries team. Through this blog post I wanted to share some information about the Microsoft Foundation Class (MFC) Library, since I am the primary developer working on MFC. As you know, MFC is an important technology component which has been extensively used over the years… Read more

Reducing the Size of Statically-linked MFC Applications in VC11

Hello, I’m Pat Brenner, a developer on the Visual C++ Libraries team, and I am the primary developer working on the Microsoft Foundation Classes (MFC). In Visual Studio 2010, the size of statically-linked MFC applications grew substantially. We’ve gotten a number of comments about this issue, so I wanted to post an article about the… Read more

Update on Bulletin MS11-025

A while back Microsoft had released security bulletin MS11-025 that addressed a publicly disclosed vulnerability in certain applications built using the Microsoft Foundation Class (MFC) Library. The vulnerability could allow remote code execution if a user opens a legitimate file associated with such an affected application, and the file happened to be located in the… Read more

The Visual C++ Weekly Vol. 1 Issue 22 (May 28, 2011)

Read in this issue: Enforcing Correct Concurrent Access of Class Data DirectCompute Lecture Series 230: GPU Accelerated Physics InformIT: Top Ten Tips for Correct C++ Coding ACCU 2011: Michael Feathers On Our Ability To Do Much Mixed-mode scenario with tracking handles to value types CSyncCollection v1.09 Referential danger Why is my program terminating with exit… Read more

The Visual C++ Weekly Vol. 1 Issue 20 (May 14, 2011)

Read in this issue: Boris Jabes: Rock Hard: C++ Evolving Raymond Chen: A function pointer cast is a bug waiting to happen Viva64: How to make fewer errors at the stage of code writing. Part N2 ACCU 2011: Scott Meyers on Move Semantics, Perfect Forwarding, and Rvalue references DirectCompute Lecture Series 120: Basics of DirectCompute… Read more