VS2010遇到宏问题.docVIP

  • 16
  • 0
  • 约1.21千字
  • 约 3页
  • 2018-03-13 发布于河南
  • 举报
VS2010遇到宏问题

VS2010遇到_WIN32_WINNT宏定义问题 在xp和win7上都遇到一个诡异的问题,先记下来。 在visual studio 2010编译程序的时候,出现如下的报错: Error C1189: #error :? This file requires _WIN32_WINNT to be #defined at least to 0×0403. Value 0×0501 or higher is recommended.??? D:\Program Files\Microsoft Visual Studio 10.0\VC\atlmfc\include\atlcore.h 在网上找这个问题的解决方法,都是在stdafx.h添加: #ifndef WINVER??????? #define WINVER 0×0501 #endif ? #ifndef _WIN32_WINNT #define _WIN32_WINNT 0×0501 #endif???????????????????????? ? #ifndef _WIN32_WINDOWS????? #define _WIN32_WINDOWS 0×0501 #endif ? #ifndef _WIN32_IE???????????? #define _WIN32_IE 0×0601???? #e

文档评论(0)

1亿VIP精品文档

相关文档