小编use*_*361的帖子

NTDDI_VERSION设置与_WIN32_WINNT设置冲突

使用VS2010我有这个错误:

error C1189: #error :  NTDDI_VERSION setting conflicts with _WIN32_WINNT setting
Run Code Online (Sandbox Code Playgroud)

在StdAfx.h中使用:

#define _WIN32_WINNT 0x0502 
Run Code Online (Sandbox Code Playgroud)

在我的其他来源my.cpp我使用:

#define NTDDI_VERSION 0x06000000 
Run Code Online (Sandbox Code Playgroud)

我怎么解决这个问题?

c++ windows winapi

4
推荐指数
1
解决办法
8938
查看次数

标签 统计

c++ ×1

winapi ×1

windows ×1