Error1error C1189: #error : MFC does not support WINVER less than 0x0501. Please change the defi
来源:互联网 发布:我做淘宝客怎么找商家 编辑:程序博客网 时间:2024/05/22 19:21
1、修改WINVER和_WIN32_WINNT
Visual C++ 不再支持面向 Windows 95、Windows 98、Windows ME、Windows NT 或 Windows 2000。 如果你的 WINVER 或 _WIN32_WINNT 宏分配给了这些 Windows 版本中的一个,则必须修改宏。 升级使用早期版本的 Visual C++ 创建的项目时,你可能会看到与 WINVER 或 _WIN32_WINNT 宏相关的编译错误(如果这些宏分配给了不再受支持的 Windows 版本)。
备注:
若要修改宏,请在stdafx.h头文件中添加以下行。
#define WINVER 0x0602#define _WIN32_WINNT 0x0602
此版本面向 Windows 8 操作系统。 其他有效值包括适用于 Windows XP 的 0x0501、适用于 Windows Server 2003 的 0x0502、适用于 Windows Vista 的 0x0600、适用于 Windows 7 的 0x0601、适用于 Windows 8 的 0x602,以及适用于 Windows 8.1 的 0x603。
0 0
- Error1error C1189: #error : MFC does not support WINVER less than 0x0501. Please change the defi
- fatal error C1189: #error : MFC does not support WINVER less than 0x0501.
- MFC does not support WINVER less than 0x0501 解决方案
- MFC does not support WINVER less than 0x0501
- error C1189: #error : MFC does not support
- error C1189: #error : MFC does not support
- 策略为王编译错误2:error C1189: #error : MFC does not support
- Your version of the Windows SDK is earlier than 6.0 Try setting the 'WINVER' and '_WIN32_WINNT' defi
- Your version of the Windows SDK is earlier than 6.0 Try setting the 'WINVER' and '_WIN32_WINNT' defi
- 控制台应用MFC类库,fatal error C1189: #error : Please use the /MD switch for _AFXDLL builds
- Error: Current license file does not support the EP2C5Q208C8 device
- error C1189:#error:This file requires _WIN32_WINNT to be #defined at least to 0x0501
- NDK的错误ERROR: The device does not support the application's targetted CPU ABIs!解决方法
- The 'to' row (0) must not be less than the 'from' row (1)
- Your ID is under ID protection. Your current version does not support this function. Please download the latest Simplified Chine
- ‘str' does not support the buffer interface
- Fix the error of ""Server does not support secure connections. " ?" when sending email
- Error: Current license file does not support the EP1C6Q240C8/EP3C10E144C8 device
- ASNI 、Smalltalk 等概念
- 黑马程序员——OC语言三大特性
- android studio 迁移 问题
- mysql索引的创建,查看和删除
- 学习iOS设计----iOS8的颜色、文字和布局学习
- Error1error C1189: #error : MFC does not support WINVER less than 0x0501. Please change the defi
- Cocos2d-x 3.2编译生成Android程序出错的解决方案:c++_static报错
- win7+apache2.2.25+php-5.3.4-Win32-VC6-x86.msi的配置安装问题
- 简单LCA
- Linux关闭防火墙方法
- 算法入门——递归
- 将一组数据中的元素打乱,可以当成洗牌的算法,也可以用去实现拼图游戏当中随机位置的产生
- fastjson
- java 几种远程服务调用协议的比较