嗨,新朋友,很高兴认识你,欢迎来到我的博客。
分类存档: dx

winnt.h(236) : error C2146

编译项目时出现如下错误: 1>Stdafx.cpp 1>c:\program files\microsoft sdks\windows\v6.0a\include\winnt.h(236) : error C2146: 语法错误 : 缺少“;”(在标识符“PVOID64”的前面) 1>c:\program files\microsoft sdks\windows\v...

unresolved external: _IID_IDirect3DBaseTexture9

just add dxguid.lib to the linker settings

Dxerr9.h->Dxerr.h

编写D3D的时候,有时候出现不能包含“Dxerr9.h”的情况,原因是微软不用Dxerr9.h而用Dxerr.h所以得改,汗,修改步骤: 1.所有包含Dxerr9.h的地方替换为Dxerr.h; 2.所有使用 DXGetErrorDescription9 的地方替换 DXGetErrorDescription ;...