VS2005转换成VS2010出错
来源:互联网 发布:pop ssl 端口 编辑:程序博客网 时间:2024/04/28 19:02
VS2005转换成VS2010时出现的问题:
This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher is recommended
解决方法:打开stdafx.h文件修改如下:
注释掉:
//#ifndef WINVER // Allow use of features specific to Windows 95 and Windows NT 4 or later.
//#define WINVER 0x0400 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
//#endif
//
//#ifndef _WIN32_WINNT // Allow use of features specific to Windows NT 4 or later.
//#define _WIN32_WINNT 0x0400 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
//#endif
//
//#ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
//#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
//#endif
//
//#ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later.
//#define _WIN32_IE 0x0400 // Change this to the appropriate value to target IE 5.0 or later.
//#endif
新增加:
#ifndef WINVER // Allow use of features specific to Windows 95 and Windows NT 4 or later.
#define WINVER 0x0501 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
#endif
#ifndef _WIN32_WINNT // Allow use of features specific to Windows NT 4 or later.
#define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
#endif
#ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
#define _WIN32_WINDOWS 0x0501 // Change this to the appropriate value to target Windows Me or later.
#endif
#ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later.
#define _WIN32_IE 0x0601 // Change this to the appropriate value to target IE 5.0 or later.
#endif
0 0
- VS2005转换成VS2010出错
- vs2005 转换成vs2010 版本存在的问题
- VS2010 VS2005 VS2008工程之间的转换
- vs2005 vs2008 vs2010间工程的转换
- VC++VS2010工程转换为VS2005
- VS2010工程转换为VS2005工程
- VS2005写的静态库到VS2010出错的处理
- VS2005、VS2008、VS2010、VS2012解决方案和工程项目文件转换方法
- VS2005、VS2008、VS2010、VS2012解决方案和工程项目文件转换方法
- VS2005、VS2008、VS2010、VS2012解决方案和工程项目文件转换方法
- VS2005、VS2008、VS2010、VS2012解决方案和工程项目文件转换方法
- VC6.0 编译的程序 转换成 VS2010后,编译出错问题解决方法的总结
- 将VS2010的工程转换为VS2005,即用VS2005打开
- 将VS2010的工程转换为VS2005,即用VS2005打开
- 旧的vs2005或2008工程项目转换成vs2010更高版本时遇到的3个问题
- vs2005工程转换成makefile
- VS2010、VS2008、VS2005快捷键
- VS2005 VS2008 VS2010 优缺点
- springMVC学习笔记(四) ---- 跳转方式
- 平方之哈希表
- c# 无法加载DLL“xxxx”:找不到指定的模块(异常来自HRESULT:0X8007007E)的一个解决方法
- STM32中断的配置
- VB通过windows API实现窗口透明,部分透明,CreateRectRgn,CombineRgn
- VS2005转换成VS2010出错
- 控制摄像机围绕目标旋转观察
- xtraBackup 备份mysql
- ASP .NET My97DatePicker
- 创建型设计模式_02--抽象工厂模式
- LogUtil日志工具
- Telling INIT to go to single user mode. init: rc main
- Java基础----反射
- POJ 3237 Tree