VS2008 for AC2010中XP的WINVER
VS2008 for AC2010中的WINVER for XP Win32我刚刚编译了AC2010的ArxDbg解决方案
我在输出窗格上收到了有关WINVER的以下消息,但ARX在AC2010中编译、加载和运行没有问题。
有人能给我一个纠正这个的提示吗(如果有必要)
1>------ 构建开始:项目:ArxDbg,配置:发布Win32 ------
1>编译...
1>StdAfx.cpp
1>WINVER未定义。默认为0x0600(Windows Vista)
1>编译...
排序相关:...
检查器实用程序是否可用于AC2010...?
尊重,
Kerry
**** Hidden Message ***** WINVER通常在StdAfx中定义。h创建新项目时,
I。e
#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN //- Exclude rarely-used stuff from Windows headers
#endif
//- Modify the following defines if you have to target a platform prior to the ones specified below.
//- Refer to MSDN for the latest info on corresponding values for different platforms.
#ifndef WINVER //- Allow use of features specific to Windows 95 and Windows NT 4 or later.
#define WINVER 0x0400 //- Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
#endif
#ifndef _WIN32_WINNT //- Allow use of features specific to Windows NT 4 or later.
#define _WIN32_WINNT 0x0400 //- Change this to the appropriate value to target Windows 2000 or later.
#endif
#ifndef _WIN32_WINDOWS //- Allow use of features specific to Windows 98 or later.
#define _WIN32_WINDOWS 0x0410 //- Change this to the appropriate value to target Windows Me or later.
#endif
#ifndef _WIN32_IE //- Allow use of features specific to IE 4.0 or later.
#define _WIN32_IE 0x0400 //- Change this to the appropriate value to target IE 5.0 or later.
#endif
PS,我从未需要将其更改为新的目标
我只是担心当我
有XP Win32 SP3即0x0501或0x0502时,它默认为0x0600(Windows Vista) 是的,定义一个比你使用的版本更新的版本,可能会导致你遇到问题,“如果你
”试图在平台SDK中的功能中编译,该功能可能仅适用于较新版本。
为了安全起见,我会将其设置为0x0501
页:
[1]