error C2061: 语法错误 : 标识符“SHANDLE_PTR”

来源:互联网 发布:企业私有云计算 编辑:程序博客网 时间:2024/04/28 16:05
在安装了DirectX8.0之后,在用Vc.net建立一个多文档程序时,却出现编译错误:
D:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\exdisp.h(1122) : error C2061: 语D:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\exdisp.h(1122) : error C2061: 语法错误 : 标识符“SHANDLE_PTR”

解决方法:Change the order of include files path, and make sure the DirectX include path is under the PlatformSDK include path.即改变包含路径的顺序,保证DirectX包含路径在PlatformSDK包含路径之后。
  这样一切就OK了。

原创粉丝点击