dsound에 관하여.h의 문제 error C2501:'DWORD_PTR' : missing storage-class or type specifiers

1246 단어
--------------------Configuration: as - Win32 Debug--------------------
Compiling...
main.cpp
e:\program files\microsoft directx 9.0 sdk (october 2004)\include\dsound.h(305) : error C2146: syntax error : missing ';' before identifier 'dwReserved1'
e:\program files\microsoft directx 9.0 sdk (october 2004)\include\dsound.h(305) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
e:\program files\microsoft directx 9.0 sdk (october 2004)\include\dsound.h(305) : error C2501: 'dwReserved1' : missing storage-class or type specifiers
e:\program files\microsoft directx 9.0 sdk (october 2004)\include\dsound.h(306) : error C2146: syntax error : missing ';' before identifier 'dwReserved2'
e:\program files\microsoft directx 9.0 sdk (october 2004)\include\dsound.h(306) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
e:\program files\microsoft directx 9.0 sdk (october 2004)\include\dsound.h(306) : error C2501: 'dwReserved2' : missing storage-class or type specifiers
cl.exe를 실행하는 동안 오류가 발생했습니다.
해결 방법:
 DWORD_PTR   int*
 :
#pragma comment(lib,"gxguid.lib")
 OK 

좋은 웹페이지 즐겨찾기