New MFC and ATL Features
This topic contains a list of new MFC and ATL features in Visual C++ 2005.
ATL/MFC Shared Classes
New Global Functions
Some ATL functions are now marked as _ATL_INSECURE_DEPRECATE, deprecated because of a security-related issue. You can useto suppress the compiler warnings that will be generated when you use these functions.
Deprecated Global Functions
The following functions are obsolete in Visual C++ .NET 2002 and later, but are available for backward compatibility with projects created with previous versions of Visual C++.
/nowchar_t has been added to sproxy.exe. Seefor more information.
_set_security_error_handler has been removed from the CRT, soshould no longer be used.
MFC Windows Forms Support
Windows Forms support has been added to MFC. Using the MFC Windows Forms support classes, you can host Windows Forms controls within your MFC applications as ActiveX controls within MFC dialog boxes or views. In addition, Windows Forms forms can be hosted as MFC dialog boxes. For more information, see.
The following code elements have been added for MFC Windows Forms support:
MFC Windows Forms integration works only in projects which link dynamically with MFC (projects in which AFXDLL is defined).
GDI+ Shipped with Windows XP
GDI+ is included with Windows XP and is available as a redistributable for Windows NT 4.0 SP6, Windows 2000, Windows 98, and Windows Me. To download the latest redistributable, see http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdkredist.htm.
For more information on GDI+, see the GDI+ SDK documentation in MSDN: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdicpp/GDIPlus/GDIPlus.asp.
The following wrapper methods have been added to CDC:
The following method has been added to CStdioFile:
Some MFC functions are now marked as _AFX_INSECURE_DEPRECATE, deprecated because of a security-related issue. You can useto suppress the compiler warnings that will be generated when you use these functions.