fatal error C1189: #error : Your version of the Windows SDK is earlier than 6.0. Try setting the 'WI
来源:互联网 发布:疯狂java讲义第4版下载 编辑:程序博客网 时间:2024/04/30 07:25
一、问题描述
最近把一个V6.0程序转到VS2008时报以下错误:
fatal error C1189: #error : Your version of the Windows SDK is earlier than 6.0. Try setting the 'WINVER' and '_WIN32_WINNT' definitions in your project to less than 0x0600.
============
翻译下,致命错误C1189:#error发出的错误:你的SDK版本早于6.0,试着将WINVER和_WIN32_WINNT在你的工程中定义成小于0x0600的数
============
二、解决方法
由于VS2008集成了SDK,但是你的版本比较老,所以会有这样的错误。
解决办法是,在你的stdafx.h里面,添加下面两句(我估计你的事XP)
#define WINVER 0x0501#define _WIN32_WINNT 0x0501
- fatal error C1189: #error : Your version of the Windows SDK is earlier than 6.0. Try setting the 'WI
- 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_WINN
- Your version of the Windows SDK is earlier than 6.0 Try setting the 'WINVER' and '_WIN32_WINNT' defi
- Error running app: This version of Android Studio is incompatible with the Gradle Plugin used. Try
- Error running app: This version of Android Studio is incompatible with the Gradle Plugin used. Try
- fatal error C1853: 'Debug\***.pch' precompiled header file is from a previous version of the compil
- This version of the rendering library is more recent than your version of IntelliJ IDEA.
- This version of the rendering library is more recent than your version of IntelliJ IDEA
- This version of the rendering library is more recent than your version of Android Studio.
- This version of the rendering library is more recent than your version of ADT pl
- This version of the rendering library is more recent than your version of ADT ..解决办法
- fatal error C1189: #error : NTDDI_VERSION setting conflicts with _WIN32_WINNT setting
- fatal error C1189: WINDOWS.H
- fatal error C1853:pecompiled header file is from a previous version of the compiler,or the precompil
- (转)fatal error C1853: precompiled header file is from a previous version of the compiler, or the pre
- the rendering library is more recent than your version of android studio
- the rendering library is more recent than your version of android studio
- datatlist控制日期显示格式
- LR中的web_reg_find函数用法
- 6 things every IT person should know
- 汇编学习--7.11--多段综合编程
- 抄袭,腾讯 和 产品
- fatal error C1189: #error : Your version of the Windows SDK is earlier than 6.0. Try setting the 'WI
- android 为摄像头增加闪光灯(s5pv210)
- Eclipse语言的切换方法
- MSP430复位电路
- 计划永远赶不上变化
- html滚动条
- Android常用名令集锦(图文并茂)!
- Android 屏幕旋转
- 数据库对象——视图——轻松走进数据库系列七