|
|

楼主 |
发表于 2006-7-26 23:11:00
|
显示全部楼层
Re:声明LPDIRECTINPUT8 didxzz = NULL;报错。请教怎么解决?
Visual Studio 2005 编译的结果: 这个winnt.h是怎么回事啊?没有声明这个头文件啊!!!
1>正在编译...
1>hwb.cpp
1>f:\vs2005\vc\platformsdk\include\winnt.h(222) : error C2146: syntax error : missing ';' before identifier 'PVOID64'
1>f:\vs2005\vc\platformsdk\include\winnt.h(222) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>f:\vs2005\vc\platformsdk\include\winnt.h(5940) : error C2146: syntax error : missing ';' before identifier 'Buffer'
1>f:\vs2005\vc\platformsdk\include\winnt.h(5940) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>f:\vs2005\vc\platformsdk\include\winnt.h(5940) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>f:\dxsdk\sdk\d3d9types.h(1390) : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
1>生成日志保存在“file://f:\3d\2\Debug\BuildLog.htm”
1>hwb - 5 个错误,1 个警告
========== 生成: 0 已成功, 1 已失败, 0 最新, 0 已跳过 ==========
|
|