![]() |
| [[ Home | Forums | 3D Engines Database | Wiki | Articles/Tutorials | Game Dev Jobs | IRC Chat Network | Contact Us ]] |
|
|
#1 |
|
New Member
Join Date: Oct 2004
Posts: 3
|
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 ). |
|
|
|
|
|
#2 |
|
Valued Member
Join Date: Jan 2004
Location: England
Posts: 265
|
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 |
|
|
|
|
|
#3 |
|
DevMaster Staff
Join Date: Sep 2003
Location: Hell
Posts: 1,109
|
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. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|