添加#include "windef.h"后出现编译错误的解决办法
2010-10-28 16:46
507 查看
原来一个好好的程序,添加#include "windef.h"后在"winnt.h"中出现了很多编译错误,开始不解,然后把#include "windef.h"放到最前面,在#include"stdafx.h"的前面后,问题解决。但不知道是什么原因?
相关文章推荐
- 编译时出现fatal error C1853: "debug/xxx.pch" is not a precomplied header file with......错误的原因及解决办法(转)
- 编译linux内核时出现"mkimage" command not found - U-Boot images will not be built错误的解决办法
- 启动minicom时出现错误"Device /dev/ttyS0 is locked minicom"的解决办法
- eclipse出现"Unable to execute dex: GC overhead limit exceeded GC overhead limit exceeded"错误的解决办法
- sql server 2008 删除数据库出现"因为它正用于复制"的错误解决办法
- 出现<authentication mode="Windows"/>错误解决办法
- ArcGIS API for Flex制作程序发布后出现错误:"访问 URL 时遇到安全性错误" 解决办法尝试(学习笔记)
- sql server 2008 删除数据库出现"因为它正用于复制"的错误解决办法
- 出现错误 Element type "LinearLayout" must be followed by either attribute specification,">"or"/>"的解决办法
- FCKeditor出现"XML request error: Internal Server Error(500)"错误的解决办法
- .NET下编译C++代码时出现"error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int"错误的解决方法。
- FCKeditor出现"this connector is disabled Please check the"editor/filemanager/connectors/aspx/config.aspx"错误的解决办法
- 向ACCESS中的"时间/日期"字段中插入DateTime.Now时出现“标准表达式中数据类型不匹配。”错误的解决办法
- 在VMware上编译linux内核出现VFS: Cannot open root device "LABEL=/" or unknown-block(0,0) 错误的解决方法
- Ubuntu更新出现"The system is running in low-graphics mode"错误提示的解决办法
- VS2010编译时拿老版本的代码运行,出现"source code is different..."解决办法
- 用KMP打开视频文件出现"无法创建图表生成器"错误的解决办法
- ubuntu下CCS5编译出现tiobj2bin: Syntax error: "(" unexpected解决办法
- Android开发中遇到的问题(五)——Eclipse导入Android项目出现"Invalid project description overlaps the location of another project"错误的解决办法