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

在安装了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了。

你可能感兴趣的:(MFC)