VS2010 -- fatal error C1189: #error : This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher
来源:互联网 发布:通达信有mac版指标导入 编辑:程序博客网 时间:2024/05/21 06:54
fatal error C1189: #error: This file requires _WIN32_WINNT to be #defined at least to 0x0403.Value 0x0501 or higher is recommended.
解决办法:
将stdafx.h中
#ifndef_WIN32_WINNT // 允许使用特定于 Windows NT 4 或更高版本的功能。
#define_WIN32_WINNT 0x0400 // 将此更改为针对于 Windows 2000 或更高版本的合适的值。
#endif
的0x0400改为0x0500即可。
文件中其他类似的也要改。
错误中已经提示了“#defined at least to 0x0403. Value 0x0501 or higheris recommended. 解决办法”。
源文档 <http://hmily8866.blog.163.com/blog/static/2437323201122965753286/>
- 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
- error : This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher
- error : This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher is
- fatal error C1189: #error : This file requires _WIN32_WINNT to be #defined at least to 0x0403
- 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
- 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 recomme
- error C1189:#error:This file requires _WIN32_WINNT to be #defined at least to 0x0501
- error C1189:#error:This file requires _WIN32_WINNT to be #defined at least to 0x0403
- error C1189:#error:This file requires _WIN32_WINNT to be #defined at least to 0x0403
- error C1189:#error:This file requires _WIN32_WINNT to be #defined at least to 0x0403
- error C1189:#error:This file requires _WIN32_WINNT to be #defined at least to 0x0403
- error C1189:#error:This file requires _WIN32_WINNT to be #defined at least to 0x0403
- error C1189:#error:This file requires _WIN32_WINNT to be #defined at least to 0x0403
- error C1189:#error:This file requires _WIN32_WINNT to be #defined at least to 0x0403
- fatal error C1189: #error : This file requires _WIN32_WINNT to be #defined at least to 0x0403. 的错误
- fstream 对中文的问题
- TMS传输配置
- PHP 出现Notice: Use of undefined constant 的解决方案
- 常用算法(1) 将排序二叉树转换双向链表
- 对顺序容器的几点注意
- VS2010 -- fatal error C1189: #error : This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher
- 正规表达式实际使用案例之一:
- VS2010 -- 'back_inserter': identifier not found
- android音乐播放器监听电话状态
- 浅谈Hibernate的flush机制
- java.util.ConcurrentModificationException 解决办法
- C#中HashTable 使用的疑惑
- mysql 数据库卸载不完全,配置出错解决办法
- 数据库设计范式的理解[转]