|
大家好,我是刚认识HoHo的;
工作平台:WindowsXp + DX9SDK + VC6
这两天在用HoHo写多媒体应用的时候出现了好多错误,在每次#include "hMusic.h" 或者 "hVideo.h"时就会错误:
c:\dxsdk\include\dsound.h(305) : error C2146: syntax error : missing ';' before identifier 'dwReserved1'
c:\dxsdk\include\dsound.h(305) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
c:\dxsdk\include\dsound.h(305) : error C2501: 'dwReserved1' : missing storage-class or type specifiers
c:\dxsdk\include\dsound.h(306) : error C2146: syntax error : missing ';' before identifier 'dwReserved2'
c:\dxsdk\include\dsound.h(306) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
c:\dxsdk\include\dsound.h(306) : error C2501: 'dwReserved2' : missing storage-class or type specifiers
c:\dxsdk\include\strmif.h(1018) : error C2146: syntax error : missing ';' before identifier 'HSEMAPHORE'
c:\dxsdk\include\strmif.h(1018) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
MyGame.exe - 8 error(s), 0 warning(s)
据我所看,应该是"DWORD_PTR"出现了某种错误
请高手们帮我分析一下! [em24] [em24] |
|