afxcomctl32.h与afxcomctl32.inl报错

编译公司一个几年前的老项目,是从VC6.0升级到VS2005的。

1.编译时报缺少头文件,于是附件包含目录,于是出现了以下报错:

1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(295) : error C2059: 语法错误 : “__stdcall”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(295) : error C2091: 函数返回函数
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(295) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(295) : error C2146: 语法错误 : 缺少“;”(在标识符“p”的前面)
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(295) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(295) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(295) : error C2061: 语法错误 : 标识符“Ptr”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(295) : error C2805: 二进制“operator =”的参数太少
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(295) : error C2333: “CComCtlWrapper::DSA_Create_Type::operator =”: 函数声明中有错误;跳过函数体
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(295) : error C2143: 语法错误 : 缺少“;”(在“->”的前面)
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(295) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(295) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(295) : error C2833: “operator Ptr”不是可识别的运算符或类型
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(295) : error C2059: 语法错误 : “newline”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(295) : error C2334: “{”的前面有意外标记;跳过明显的函数体
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(295) : error C2146: 语法错误 : 缺少“;”(在标识符“_DSA_Create”的前面)
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(295) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(295) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(295) : warning C4183: “_DSA_Create”: 缺少返回类型;假定为返回“int”的成员函数
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(296) : error C2061: 语法错误 : 标识符“HDSA”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(296) : error C2061: 语法错误 : 标识符“HDSA”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(297) : error C2061: 语法错误 : 标识符“HDSA”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(297) : error C2061: 语法错误 : 标识符“HDSA”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(298) : error C2061: 语法错误 : 标识符“HDSA”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(298) : error C2061: 语法错误 : 标识符“HDSA”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(299) : error C2061: 语法错误 : 标识符“HDSA”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(299) : error C2061: 语法错误 : 标识符“HDSA”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(300) : error C2059: 语法错误 : “__stdcall”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(300) : error C2091: 函数返回函数
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(300) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(300) : error C2146: 语法错误 : 缺少“;”(在标识符“p”的前面)
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(300) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(300) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(300) : error C2061: 语法错误 : 标识符“Ptr”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(300) : error C2805: 二进制“operator =”的参数太少
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(300) : error C2333: “CComCtlWrapper::DPA_Create_Type::operator =”: 函数声明中有错误;跳过函数体
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(300) : error C2143: 语法错误 : 缺少“;”(在“->”的前面)
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(300) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(300) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(300) : error C2833: “operator Ptr”不是可识别的运算符或类型
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(300) : error C2059: 语法错误 : “newline”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(300) : error C2334: “{”的前面有意外标记;跳过明显的函数体
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(300) : error C2146: 语法错误 : 缺少“;”(在标识符“_DPA_Create”的前面)
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(300) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(300) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(300) : warning C4183: “_DPA_Create”: 缺少返回类型;假定为返回“int”的成员函数
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(301) : error C2061: 语法错误 : 标识符“HDPA”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(301) : error C2061: 语法错误 : 标识符“HDPA”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(302) : error C2061: 语法错误 : 标识符“HDPA”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(302) : error C2061: 语法错误 : 标识符“HDPA”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(303) : error C2061: 语法错误 : 标识符“HDPA”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(303) : error C2061: 语法错误 : 标识符“HDPA”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(304) : error C2061: 语法错误 : 标识符“HDPA”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(304) : error C2061: 语法错误 : 标识符“HDPA”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(305) : error C2061: 语法错误 : 标识符“HDPA”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(305) : error C2061: 语法错误 : 标识符“HDPA”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(306) : error C2061: 语法错误 : 标识符“HDPA”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(306) : error C2061: 语法错误 : 标识符“HDPA”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(307) : error C2061: 语法错误 : 标识符“HDPA”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(307) : error C2061: 语法错误 : 标识符“HDPA”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(308) : error C2061: 语法错误 : 标识符“HDPA”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(308) : error C2061: 语法错误 : 标识符“HDPA”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(309) : error C2061: 语法错误 : 标识符“HDPA”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(309) : error C2061: 语法错误 : 标识符“HDPA”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(310) : error C2061: 语法错误 : 标识符“HDPA”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(310) : error C2061: 语法错误 : 标识符“HDPA”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(295) : error C2614: “CComCtlWrapper::DSA_Create_Type”: 非法的成员初始化:“p”不是基或成员
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(295) : error C2065: “p”: 未声明的标识符
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(295) : error C2039: “Ptr”: 不是“CComCtlWrapper::DSA_Create_Type”的成员
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(295) : 参见“CComCtlWrapper::DSA_Create_Type”的声明
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(295) : error C2065: “Ptr”: 未声明的标识符
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(295) : error C2143: 语法错误 : 缺少“;”(在“GetProcAddress”的前面)
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(295) : error C2065: “HDSA”: 未声明的标识符
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(295) : error C2146: 语法错误 : 缺少“;”(在标识符“result”的前面)
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(295) : error C2065: “result”: 未声明的标识符
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(295) : error C2678: 二进制“!=”: 没有找到接受“CComCtlWrapper::DSA_Create_Type”类型的左操作数的运算符(或没有可接受的转换)
1>XXX\Microsoft Visual Studio 8\VC\PlatformSDK\include\guiddef.h(197): 可能是“int operator !=(const GUID &,const GUID &)”
1>试图匹配参数列表“(CComCtlWrapper::DSA_Create_Type, int)”时
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(295) : error C2064: 项不会计算为接受 2 个参数的函数
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(296) : error C2065: “hdsa”: 未声明的标识符
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(297) : error C2065: “pfnCB”: 未声明的标识符
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(297) : error C2065: “pData”: 未声明的标识符
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(298) : error C2065: “i”: 未声明的标识符
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(299) : error C2065: “pitem”: 未声明的标识符
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(300) : error C2614: “CComCtlWrapper::DPA_Create_Type”: 非法的成员初始化:“p”不是基或成员
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(300) : error C2039: “Ptr”: 不是“CComCtlWrapper::DPA_Create_Type”的成员
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(300) : 参见“CComCtlWrapper::DPA_Create_Type”的声明
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(300) : error C2143: 语法错误 : 缺少“;”(在“GetProcAddress”的前面)
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(300) : error C2065: “HDPA”: 未声明的标识符
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(300) : error C2146: 语法错误 : 缺少“;”(在标识符“result”的前面)
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(300) : error C2678: 二进制“!=”: 没有找到接受“CComCtlWrapper::DPA_Create_Type”类型的左操作数的运算符(或没有可接受的转换)
1>XXX\Microsoft Visual Studio 8\VC\PlatformSDK\include\guiddef.h(197): 可能是“int operator !=(const GUID &,const GUID &)”
1>试图匹配参数列表“(CComCtlWrapper::DPA_Create_Type, int)”时
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(300) : error C2064: 项不会计算为接受 1 个参数的函数
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(301) : error C2065: “hdpa”: 未声明的标识符
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(309) : error C2065: “pfnCompare”: 未声明的标识符
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(309) : error C2065: “lParam”: 未声明的标识符
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(310) : error C2065: “pFind”: 未声明的标识符
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(310) : error C2065: “iStart”: 未声明的标识符
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.h(310) : error C2065: “options”: 未声明的标识符
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxwin.h(3017) : error C2061: 语法错误 : 标识符“PBUTTON_IMAGELIST”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxwin.h(3018) : error C2061: 语法错误 : 标识符“PBUTTON_IMAGELIST”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.inl(94) : error C2143: 语法错误 : 缺少“;”(在“__stdcall”的前面)
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.inl(94) : error C2433: “HDSA”: 不允许在数据声明中使用“inline”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.inl(94) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.inl(94) : error C2371: “HDSA”: 重定义;不同的基类型
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.inl(94) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.inl(95) : error C2146: 语法错误 : 缺少“)”(在标识符“hdsa”的前面)
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.inl(95) : warning C4229: 使用了记时错误 : 忽略数据上的修饰符
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.inl(95) : error C2433: “AfxDSA_Destroy”: 不允许在数据声明中使用“inline”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.inl(95) : error C2059: 语法错误 : “)”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.inl(95) : error C2143: 语法错误 : 缺少“;”(在“{”的前面)
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.inl(95) : error C2447: “{”: 缺少函数标题(是否是老式的形式表?)
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.inl(96) : error C2146: 语法错误 : 缺少“)”(在标识符“hdsa”的前面)
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.inl(96) : warning C4229: 使用了记时错误 : 忽略数据上的修饰符
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.inl(96) : error C2182: “AfxDSA_DestroyCallback”: 非法使用“void”类型
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.inl(96) : error C2433: “AfxDSA_DestroyCallback”: 不允许在数据声明中使用“inline”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.inl(96) : error C2059: 语法错误 : “)”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.inl(96) : error C2143: 语法错误 : 缺少“;”(在“{”的前面)
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.inl(96) : error C2447: “{”: 缺少函数标题(是否是老式的形式表?)
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.inl(97) : error C2146: 语法错误 : 缺少“)”(在标识符“hdsa”的前面)
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.inl(97) : warning C4229: 使用了记时错误 : 忽略数据上的修饰符
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.inl(97) : error C2433: “AfxDSA_GetItemPtr”: 不允许在数据声明中使用“inline”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.inl(97) : error C2059: 语法错误 : “)”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.inl(97) : error C2143: 语法错误 : 缺少“;”(在“{”的前面)
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.inl(97) : error C2447: “{”: 缺少函数标题(是否是老式的形式表?)
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.inl(98) : error C2146: 语法错误 : 缺少“)”(在标识符“hdsa”的前面)
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.inl(98) : warning C4229: 使用了记时错误 : 忽略数据上的修饰符
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.inl(98) : error C2433: “AfxDSA_InsertItem”: 不允许在数据声明中使用“inline”
1>XXX\Microsoft Visual Studio 8\VC\atlmfc\include\afxcomctl32.inl(98) : fatal error C1003: 错误计数超过 100;正在停止编译

2.经过调试分析感觉是#include <afxwin.h>时出错了,但是不知怎么解决,于是到网上找资料

网上说“此问题已经解决,系统版本问题,需要包含这个文件时,先#define WINVER 0x400 包含后在#define WINVER 0x600”

换了系统,换了vs2005版本,加了#define WINVER 0x400、#define WINVER 0x600,但是完全不起作用,于是打算重写此程序。

3.重写程序

重建一个项目是完全可以的,但是要把原来项目中的全部功能移过来是很麻烦的。于是想到在原项目上改,先去掉多余功能,如果没问题再一点点添加功能。

发现当去掉附加包含目录中所有项目不需要的头文件,只保留需要的头文件时,奇迹发生了,程序编译通过,不再有那个错误。

4.总结

这个问题可能是包含了不该包含的某一个头文件,可以通过把不需要的全都去掉试试。反正我是这么解决了,汗!

afxcomctl32.h与afxcomctl32.inl报错的更多相关文章

  1. esUtil.h中的m变量报错

    引用了OpenGL ES自带的esUtil.h, 编译的时候报错:     typedef struct     {         GLfloat m[4][4];     } ESMatrix; ...

  2. Linux下编译C代码,出现tan函数报错的情况

    undefined reference to `tan' 但是已经包含了头文件 <math.h>了,可还是报错,说是找不到tan 这个问题的原因不是很清楚, 但是网上给出的方案,就是编译的 ...

  3. 【原】导入framework报错解决(以ReactiveObjC.framework为例)

    1.当导入ReactiveObjC.framework后,进行编译时报错:framework not found xxx 报错如下图: 解决办法:     Targets -> Build Se ...

  4. CentOS7安装mysql8.0编译报错集合

    以下都是我安装mysql8.0遇到的一些报错和解决方法 1.does not appear to contain CMakeLists.txt. 原因:mysql下载的源码包不对 解决方法:下载正确的 ...

  5. vs2010项目使用vs2013编译报错 无法打开包括文件:“winapifamily.h”

    我的老项目是vs2010下的项目.最近安装vs2013后,打开sln解决方案,调试运行报错 C:\Program Files (x86)\Windows Kits\8.0\Include\um\win ...

  6. OBS---环境配置之#include <D3DX10.h>报错

    一.先贴错误 因为这个笔记主要记录我如何整好这个OBS源码环境的,给需要的童鞋一个参考 1.1.#include <D3DX10.h>  报错 没有这个 解决方案:把2,3先解决了就水到渠 ...

  7. PHP安装mcrypt.so报错 mcrypt.h not found 的解决办法

    报错内容:configure: error: mcrypt.h not found. Please reinstall libmcrypt 网上搜索了很多,包括自带的 yum install libm ...

  8. PHP安装mcrypt.so报错 mcrypt.h not found 的解决的方法

    报错内容:configure: error: mcrypt.h not found. Please reinstall libmcrypt 网上搜索了非常多,包含自带的 yum install lib ...

  9. Directx11 xnamath.h 报错

    xnamath.h 报错: 在标识符“XMConvertToRadians”的前面 如下报错 >d:\program files\microsoft directx sdk (june )\in ...

随机推荐

  1. JS继承之原型继承

     许多OO语言都支持两种继承方式:接口继承和实现继承.接口继承只继承方法签名,而实现继承则继承实际的方法.如前所述,由于函数没有签名,在ECMAScript中无法实现接口继承.ECMAScript只支 ...

  2. git基本操作

    一.在Windows平台上安装Git,可以下载一个msysGit的安装包,点击exe即可安装运行.安装包下载地址:https://git-for-windows.github.io/备注:git命令行 ...

  3. linux的top命令参数详解

    简介 top命令是Linux下常用的性能分析工具,能够实时显示系统中各个进程的资源占用状况,类似于Windows的任务管理器. top显示系统当前的进程和其他状况,是一个动态显示过程,即可以通过用户按 ...

  4. CentOS Mono Nginx 部署 MVC4+WebApi

    CentOS Mono Nginx 部署 MVC4+WebApi 经过几天的折磨,终于在CentOS上成功部署了MVC4+WebApi.Mono上的服务器推荐两种:Jexus(国产高人写的一款很牛的服 ...

  5. Go build constraints

    Go语言有一个不(奇)错(葩)的设计,就是build constraints(构建约束).可以在源码中通过注释的方式指定编译选项,比如只允许在linux下,或者在386的平台上编译啊之类的:还可以通过 ...

  6. The Coroutine

    关于Coroutine 说到coroutine就不的不说subroutine,也就是我们常用到的一般函数.调用一个函数开始执行,然后函数执行完成后就退出,再次调用的时候,再从头开始,调用之间是没有保存 ...

  7. ABP教程-给项目添加SwaggerUI,生成动态webapi

    上一篇,我们是正式将ABP生成的代码项目,跑起来了,然后演示了下多租户的不同.那么这篇我们就来实现下SwaggerUI. Q:SwaggerUI是干什么的呢? A:他是一个能将我们的webapi,通过 ...

  8. JavaScript语法

    通用变量var 强制整数parseint(): 强制小数parsefloat(): 是不是一个合法的数字isNaN(): if(判断条件) { 满足条件要执行的语句 } else{ 不满足条件要执行的 ...

  9. 游戏编程系列[1]--游戏编程中RPC协议的使用[2]--Aop PostSharp篇

    上一篇我们使用了一个通用JSON协议约定来进行达到远程调用的目的.但是从实现上,我们需要不断的在所有的方法上添加拦截,并且判断拦截,然后执行,这就达到了一个比较繁琐的目的. 之前我们尝试过使用代码生成 ...

  10. ASP.NET AntiXSS的使用

    下载类库: http://wpl.codeplex.com 添加程序集引用 在web.config文件中将AntiXSS类库注册为应用程序的编码器           在<system.web& ...