A little assistance w/ direct sound would be greatly appreciated. When I don't include mmsystem.h (but I do include libwinmm.a) as someone else mentioned, there are a ton of compiler errors like this:
228 c:\dev-c_~1\include\dsound.h
syntax error before `*'
687 c:\dev-c_~1\include\dsound.h
`LPWAVEFORMATEX' was not declared in this scope
when I do include mmsystem.h (along w/ libwinmm.a) I get errors like this:
same thing.
Can anyone explain, the necessary components to get dsound of the ground please?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
A little assistance w/ direct sound would be greatly appreciated. When I don't include mmsystem.h (but I do include libwinmm.a) as someone else mentioned, there are a ton of compiler errors like this:
228 c:\dev-c_~1\include\dsound.h
syntax error before `*'
687 c:\dev-c_~1\include\dsound.h
`LPWAVEFORMATEX' was not declared in this scope
when I do include mmsystem.h (along w/ libwinmm.a) I get errors like this:
same thing.
Can anyone explain, the necessary components to get dsound of the ground please?
What DirectX SDK are you using? There is a good port of DirectX for Mingw at
http://sites.netscape.net/ptrpck
you can use the headers and libs stored there.
What DirectX SDK are you using? There is a good port of DirectX for Mingw at
http://sites.netscape.net/ptrpck
you can use the headers and libs stored there.