mainFrame.cpp
c:\program files\microsoft directx 9.0 sdk (october 2004)\include\dinput.h: DIRECTINPUT_VERSION undefined. Defaulting to version 0x0800
c:\program files\microsoft directx 9.0 sdk (october 2004)\include\dsound.h(305) : error C2146: syntax error : missing ';' before identifier 'dwReserved1'
c:\program files\microsoft directx 9.0 sdk (october 2004)\include\dsound.h(305) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
c:\program files\microsoft directx 9.0 sdk (october 2004)\include\dsound.h(305) : error C2501: 'dwReserved1' : missing storage-class or type specifiers
c:\program files\microsoft directx 9.0 sdk (october 2004)\include\dsound.h(306) : error C2146: syntax error : missing ';' before identifier 'dwReserved2'
c:\program files\microsoft directx 9.0 sdk (october 2004)\include\dsound.h(306) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
c:\program files\microsoft directx 9.0 sdk (october 2004)\include\dsound.h(306) : error C2501: 'dwReserved2' : missing storage-class or type specifiers
F:\my projects\The Panzer Invasion2\MainFrame.cpp(784) : error C2039: 'LoadObjectFromFile' : is not a member of '_NoAddRefReleaseOnCComPtr<struct IDirectMusicPerformance8>'
The Panzer Invasion2.cpp
c:\program files\microsoft directx 9.0 sdk (october 2004)\include\dinput.h: DIRECTINPUT_VERSION undefined. Defaulting to version 0x0800
c:\program files\microsoft directx 9.0 sdk (october 2004)\include\dsound.h(305) : error C2146: syntax error : missing ';' before identifier 'dwReserved1'
c:\program files\microsoft directx 9.0 sdk (october 2004)\include\dsound.h(305) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
c:\program files\microsoft directx 9.0 sdk (october 2004)\include\dsound.h(305) : error C2501: 'dwReserved1' : missing storage-class or type specifiers
c:\program files\microsoft directx 9.0 sdk (october 2004)\include\dsound.h(306) : error C2146: syntax error : missing ';' before identifier 'dwReserved2'
c:\program files\microsoft directx 9.0 sdk (october 2004)\include\dsound.h(306) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers
c:\program files\microsoft directx 9.0 sdk (october 2004)\include\dsound.h(306) : error C2501: 'dwReserved2' : missing storage-class or type specifiers
Generating Code...
Error executing cl.exe.
Creating browse info file...
having problem with dsound.h include file
hi everyone,
i am having problem with dsound.h include file.
i ve directx 9.0 sdk (october 2004) installed. but when i compile my app i get a error message as below, can anyone help me out?
These datatypes were originally part of the DirectX SDK in a file called "BaseTSD.h". Since the release of DirectX 9, that header has become a part of the Windows Platform SDK. You will either need to copy the header from the DirectX 8 SDK to one of your linked 'includes' directories or download and install the latest version of the Windows Platform SDK. I would strongly recommend the latter.
[edit]
Are you still using MS VC 6.0? If so you may not be able to use the latest version of the Windows Platform SDK. I can't remember if it still supports 6.0 or not.
[/edit]
[edit]
Are you still using MS VC 6.0? If so you may not be able to use the latest version of the Windows Platform SDK. I can't remember if it still supports 6.0 or not.
[/edit]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement