VS2010中编程时遇到这个问题

_WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)

解决办法:

 

在stdafx.h中添加宏定义

#define _WIN32_WINNT 0x0502

备注:必须在stdafx.h中所有#include 文件之前添加此代码。

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-08
  • 2021-07-08
  • 2022-12-23
  • 2022-12-23
  • 2021-10-07
  • 2021-04-30
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-25
  • 2022-12-23
  • 2021-09-05
相关资源
相似解决方案