I'm at the stage where I wish to add sound to my directx game. if I use #include <dsound.h>
I get 180 errors
I have the sdk and all other includes
<ddraw.h>
<dinput.h>
etc..
gave me no problem, is there something I should know?
It seems that the dsound code is there but all the errors are saying everything in the file is undefined (I'm using vc++ 6.0 by the way ).
dsound problems
Started by tadobie, Oct 17 2004 05:45 AM
2 replies to this topic
#1
Posted 17 October 2004 - 05:45 AM
#2
Posted 17 October 2004 - 08:52 AM
Im not much of an expert with DSound (having had very little experience with it), but even the most expereinced person will first ask you:
"What are the errors. Are they linking errors, compiler errors?"
Post the actual errors so people will have a better understanding of how to help you out :)
Spree
"What are the errors. Are they linking errors, compiler errors?"
Post the actual errors so people will have a better understanding of how to help you out :)
Spree
#3
Posted 17 October 2004 - 01:29 PM
Yeah, what errors are you getting exactly? A few things that come to mind that you can check which may help though:
* Make sure you are including windows.h *before* you are including dsound.h
* Are you linking to dxgui.lib OR defining INITGUID before the includes.
Off the top of my head those are some things that sometimes cause problems. Without more info can help anymore though.
* Make sure you are including windows.h *before* you are including dsound.h
* Are you linking to dxgui.lib OR defining INITGUID before the includes.
Off the top of my head those are some things that sometimes cause problems. Without more info can help anymore though.
- TripleBuffer
- Me blog
- Me blog
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











