_WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
来源:互联网 发布:互联网金融 数据产品 编辑:程序博客网 时间:2024/05/16 09:40
原文地址::http://blog.csdn.net/xiaolongwang2010/article/details/7550505
相关网帖
1、错误找不到WinsdkVer.h----http://bbs.csdn.net/topics/380128304?page=1#post-396334704
警告报告:
_WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
处理办法:
第一步:
" #define _WIN32_WINNT 0x0502 "
在StdAfx.h中添加上述宏定义。
备注:必须在stdafx.h中所有#include 文件之前添加此代码。
第二步:
在StdAfx.h头文件里面加上#include <SDKDDKVer.h>有关于平台的定义
备注:如果StdAfx.h里面有了就不用加 #include <SDKDDKVer.h>了!
//Including SDKDDKVer.h defines the highest available Windows platform.
//If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
//set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
全文参考:http://blog.sina.com.cn/s/blog_8d7f7f3c01010s3g.html
http://blog.csdn.net/ayan200112/article/details/6918975
//==============================================================================================
备注::
1》WinSDKVer.h+SDKDDKVer.h文件在PC上的存储路径为----C:\Program Files\Microsoft SDKs\Windows\v7.0A\Include
- _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h
- _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h
- _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
- _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
- VS ——》_WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h
- WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
- WINVER not defined. Defaulting to 0x0502 (Windows Server 2003)
- warning : WINVER not defined. Defaulting to 0x0600(Windows Vista)
- warning : WINVER not defined. Defaulting to 0x0600(Windows Vista)
- _WIN32_WINNT not defined
- _WIN32_WINNT not defined错误 解决办法
- _WIN32_WINNT not defined错误 解决办法
- VS2010中遇到 _WIN32_WINNT not defined
- VS中遇到 _WIN32_WINNT not defined
- VS中遇到 _WIN32_WINNT not defined
- 问题1see WinSDKVer.h,问题2stdafx.h(37): error C4430,问题3LNK1181
- VC6工程升级到VS2008工程遇到“WINVER not defined. Defaulting to 0x0600(Windows Vista)”问题解决
- VS2010调试程序出现错误:vc/atlmfc/include/atlcore.h(35): fatal error C1189: #error : This file requires _WIN32_WINNT to be #defined at le
- 提升职——《米娅,快跑》
- 时间复杂度的计算
- linux挂载目录(整理)
- SQLite多线程读写实践及常见问题总结【半月谈投稿】 ...
- C++类对象内存模型与成员函数调用分析(上)
- _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
- dwr2.0开篇
- 处理百万级以上的数据处理
- 分库分表总结
- C++类对象内存模型与成员函数调用分析(中)
- Android应用程序详解
- C++类对象内存模型与成员函数调用分析(下)
- ios7 多任务
- Android 如何解析Xml字符串