BT
x Your opinion matters! Please fill in the InfoQ Survey about your reading habits!

MFC Update

by Jonathan Allen on Mar 13, 2012 |

Despite a recent emphasis on Windows 8 Metro, Microsoft has renewed its pledge to support MFC which they call “the most fully-featured library for building native desktop applications”. While there were no major features announced, a lot of effort was put in to bug fixes and general improvements.

In Visual Studio 2010 the size of statically linked MFC applications increased significantly. Microsoft didn’t discover the cause of this flaw until shortly before the release VS 10. By restructuring the source models, simple dialog-based MFC applications can see an 80% reduction in size. Applications using MFC controls on a dialog cannot take advantage of this and compatibility issues prevent back-porting the fix to Visual Studio 10.

Other improvements include:

  • Fixed DLLMain best practices violations by deferring initialization of the afxGlobalData structure
  • Fixed over 220 bugs, nearly 100 of which were reported by customers via the Connect web site
  • Fixed a large number of paint/draw issues (in toolbars, splitters, theme switches, etc.)
  • Fixed several memory leaks (in CMFCVisualManager and CMFCButton classes)
  • Added a number of missing exports (methods and data) to the MFC import libraries

The first version of MFC or Microsoft Foundation Classes was released in 1992 to simplify Windows development. Prior to its introduction Windows developers had to choose between using the severely limited Visual Basic 1.0 or painstakingly building applications using C and raw Windows API calls. MFC is seen as one of the key technologies that allowed Windows to beat IBM’s much better funded OS/2 operation system.

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT