乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
查看: 57|回复: 3

VS2008 for AC2010中XP的WINVER

[复制链接]

116

主题

996

帖子

9

银币

顶梁支柱

Rank: 50Rank: 50

铜币
1466
发表于 2009-7-5 02:52:58 | 显示全部楼层 |阅读模式
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

本帖以下内容被隐藏保护;需要你回复后,才能看到!

游客,如果您要查看本帖隐藏内容请回复
回复

使用道具 举报

116

主题

996

帖子

9

银币

顶梁支柱

Rank: 50Rank: 50

铜币
1466
发表于 2009-7-5 04:25:42 | 显示全部楼层
WINVER通常在StdAfx中定义。h创建新项目时,
I。e
  1. #ifndef VC_EXTRALEAN
  2. #define VC_EXTRALEAN                        //- Exclude rarely-used stuff from Windows headers
  3. #endif
  4. //- Modify the following defines if you have to target a platform prior to the ones specified below.
  5. //- Refer to MSDN for the latest info on corresponding values for different platforms.
  6. #ifndef WINVER                                        //- Allow use of features specific to Windows 95 and Windows NT 4 or later.
  7. #define WINVER 0x0400                        //- Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
  8. #endif
  9. #ifndef _WIN32_WINNT                        //- Allow use of features specific to Windows NT 4 or later.
  10. #define _WIN32_WINNT 0x0400                //- Change this to the appropriate value to target Windows 2000 or later.
  11. #endif                                               
  12. #ifndef _WIN32_WINDOWS                        //- Allow use of features specific to Windows 98 or later.
  13. #define _WIN32_WINDOWS 0x0410        //- Change this to the appropriate value to target Windows Me or later.
  14. #endif
  15. #ifndef _WIN32_IE                                //- Allow use of features specific to IE 4.0 or later.
  16. #define _WIN32_IE 0x0400                //- Change this to the appropriate value to target IE 5.0 or later.
  17. #endif

PS,我从未需要将其更改为新的目标
回复

使用道具 举报

116

主题

996

帖子

9

银币

顶梁支柱

Rank: 50Rank: 50

铜币
1466
发表于 2009-7-5 06:01:41 | 显示全部楼层

我只是担心当我
有XP Win32 SP3即0x0501或0x0502时,它默认为0x0600(Windows Vista)
回复

使用道具 举报

116

主题

996

帖子

9

银币

顶梁支柱

Rank: 50Rank: 50

铜币
1466
发表于 2009-7-5 06:23:18 | 显示全部楼层
是的,定义一个比你使用的版本更新的版本,可能会导致你遇到问题,“如果你
”试图在平台SDK中的功能中编译,该功能可能仅适用于较新版本。
为了安全起见,我会将其设置为0x0501
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-2-6 01:06 , Processed in 0.152088 second(s), 60 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表