rpcndr.h和wtypes.h冲突Bug的解决方案
来源:互联网 发布:大数据时代的信息管理 编辑:程序博客网 时间:2024/05/03 13:37
rpcndr.h和wtypes.h冲突时,其错误表现如下:
C:\program files\microsoft visual studio\vc98\include\rpcndr.h(173) : error C2632: 'char' followed by 'int' is illegalC:\program files\microsoft visual studio\vc98\include\rpcndr.h(173) : warning C4091: 'typedef ' : ignored on left of 'unsigned char' when no variable is declaredC:\program files\microsoft visual studio\vc98\include\wtypes.h(1113) : error C2371: 'BOOLEAN' : redefinition; different basic types
C:\program files\microsoft visual studio\vc98\include\winnt.h(636) : see declaration of 'BOOLEAN'
其解决方法是:
在main文件的第一行加入
#ifdef WIN32 #include <WTypes.h> // Include this first on Win (bug #35683) #endif
- rpcndr.h和wtypes.h冲突Bug的解决方案
- C1189 rpcndr.h 错误
- winsock2.h和windows.h冲突问题的解决方案
- #include <Windows.h> 和 <Winsock2.h>冲突的改进解决方案
- #include <Windows.h> 和 <Winsock2.h>冲突的改进解决方案
- Managed C++ wtypes.h DATE 转化为 .net的 DateTime
- Wtypes.h中的非托管类型
- WinSock2.h和windows.h发送冲突的解决方法
- Windows.h和Winsock2.h冲突问题
- winsock2.h与afxsock.h的冲突
- “BOOLEAN”: 重定义;不同的基类型 ”问题 rpcndr.h(147) : error C2632: “char”后面的“int”非法
- numeric_limits::max()和windows.h冲突的解决方法
- numeric_limits::max()和windows.h冲突的解决方法
- syslog.h和android的log系统冲突问题
- vs2010编译项目,intrin.h和winNT.h冲突的问题解决
- ndk编译 ffmpeg 1.1.1 出现libavutil/time.h 和系统的time.h 冲突问题 ;
- ffmpeg 0.10由于pixfmt.h 宏定义冲突bug终止
- windows.h与winsock2.h冲突问题的解决
- 别人是怎么读你的简历的
- cocos2d-x结合cocosbuilder,不同屏幕适配小结
- mysql You can turn off this feature to get a quicker startup with –A
- Spring工具类ToStringBuilder用法简介
- MySQL数据类型中DECIMAL的作用和用法
- rpcndr.h和wtypes.h冲突Bug的解决方案
- 浅析PageRank算法(张洋)
- 公告:CSDN博客频道自定义域名、标签搜索功能正式上线!
- 用as3实现组件或屏幕的抖动效果
- 228句口语要素
- Delphi 怎样 把TParams 或 record写到流里面
- 解决com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
- 如何在Windows环境的域中顺利更新Ubuntu
- C语言空指针