fatal error C1189: #error : This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher is recommended.
2011-05-04 22:45
519 查看
在网络上下载了一个关于图片拖拽的小游戏代码,使用vs 2010转换过后打开,进行编译时出现了这个错误,查询过后得到解决办法。
如下:
将stdafx.h文件中
0x0400改为0x0500,编译通过。
在错误提示中也已经告知了改正方法。
如下:
将stdafx.h文件中
#ifndef _WIN32_WINNT // 允许使用特定于 Windows NT 4 或更高版本的功能。 #define _WIN32_WINNT 0x0400 // 将此更改为针对于 Windows 2000 或更高版本的合适的值。 #endif
0x0400改为0x0500,编译通过。
在错误提示中也已经告知了改正方法。
相关文章推荐
- fatal error C1189: #error : This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher is recommended.
- This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher is recomme
- This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher is recommended
- This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher is recommended
- error : This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher is
- This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher is recomme
- VS2010 -- fatal error C1189: #error : This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher
- VS2010编译错误:fatal error C1189: #error : This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher
- 错误 1 error C1189: #error : This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value
- error C1189:#error:This file requires _WIN32_WINNT to be #defined at least to 0x0501
- error : This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher
- fatal error C1189: #error : This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value
- fatal error C1189: #error : This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value
- VS2010编译错误:fatal error C1189: #error : This file requires _WIN32_WINNT to be #defined at least to 0x
- VS2010编译错误:fatal error C1189: #error : This file requires _WIN32_WINNT to be #defined at least to 0x
- VS2010编译错误:fatal error C1189: #error : This file requires _WIN32_WINNT to be #defined at least to 0x
- VS2010编译错误:fatal error C1189: #error : This file requires _WIN32_WINNT to be #defined at least to 0x
- error C1189:#error:This file requires _WIN32_WINNT to be #defined at least to 0x0403
- vc2010_error C1189:#error:This file requires _WIN32_WINNT to be #defined at least to 0x
- VS2010编译错误:fatal error C1189: #error : This file requires _WIN32_WINNT to be #defined at least to 0x