Stdafx.h中的如下代码需要替换:
// 如¨?果?您¨²必À?须?使º1用®?下?列¢D所¨´指?定¡§的Ì?平?台¬¡§之?前¡ã的Ì?平?台¬¡§,ê?则¨°修T改?下?面?的Ì?定¡§义°?。¡ê
// 有®D关?不?同ª?平?台¬¡§的Ì?相¨¤应®|值¦Ì的Ì?最Á?新?信?息¡é,ê?请?参?考? MSDN。¡ê
//#ifndefWINVER // 允¨º许¨ª使º1用®? Windows 95 和¨ª Windows NT 4 或¨°更¨¹高?版ã?本À?的Ì?特¬?定¡§功|能¨¹。¡ê
//#defineWINVER 0x0400 //为a Windows98 和¨ª Windows 2000 及¡ã更¨¹新?版ã?本À?改?变À?为a适º¨º当Ì¡À的Ì?值¦Ì。¡ê
//#endif
//
//#ifndef_WIN32_WINNT // 允¨º许¨ª使º1用®? Windows NT 4 或¨°更¨¹高?版ã?本À?的Ì?特¬?定¡§功|能¨¹。¡ê
//#define_WIN32_WINNT 0x0400 //为a Windows98 和¨ª Windows 2000 及¡ã更¨¹新?版ã?本À?改?变À?为a适º¨º当Ì¡À的Ì?值¦Ì。¡ê
//#endif
//
//#ifndef_WIN32_WINDOWS // 允¨º许¨ª使º1用®? Windows 98 或¨°更¨¹高?版ã?本À?的Ì?特¬?定¡§功|能¨¹。¡ê
//#define_WIN32_WINDOWS 0x0410 //为a Windows Me 及¡ã更¨¹新?版ã?本À?改?变À?为a适º¨º当Ì¡À的Ì?值¦Ì。¡ê
//#endif
//
//#ifndef_WIN32_IE // 允¨º许¨ª使º1用®? IE 4.0 或¨°更¨¹高?版ã?本À?的Ì?特¬?定¡§功|能¨¹。¡ê
//#define_WIN32_IE 0x0400 //为a IE 5.0 及¡ã更¨¹新?版ã?本À?改?变À?为a适º¨º当Ì¡À的Ì?值¦Ì。¡ê
//#endif
#ifndef WINVER // Allow use offeatures specific to Windows 95 and Windows NT 4 or later.
#define WINVER 0x0501 //Change this to the appropriate value to target Windows 98 and Windows 2000 orlater.
#endif
#ifndef _WIN32_WINNT // Allowuse of features specific to Windows NT 4 or later.
#define _WIN32_WINNT 0x0501 //Change this to the appropriate value to target Windows 98 and Windows 2000 orlater.
#endif
#ifndef _WIN32_WINDOWS //Allow use of features specific to Windows 98 or later.
#define _WIN32_WINDOWS 0x0501 //Change this to the appropriate value to target Windows Me or later.
#endif
#ifndef _WIN32_IE // Allow useof features specific to IE 4.0 or later.
#define _WIN32_IE 0x0601 //Change this to the appropriate value to target IE 5.0 or later.
#endif
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // 某3些? CString 构1造¨¬函¡¥数ºy将?是º?显?式º?的Ì?