Ok, does anyone know what this means. i got it as an error message when compiling:
Sound.obj error LNK2001: unresolved external symbol _DirectSoundCreate@12
thanks
Printable View
Ok, does anyone know what this means. i got it as an error message when compiling:
Sound.obj error LNK2001: unresolved external symbol _DirectSoundCreate@12
thanks
It means you called a function DirectSoundCreate, but you never supplied any code for it.
You need to link with the DirectX library files, MSDN will tell you which ones are needed (look up that function), and then add it to the Linker section of Project Settings.
Thanks for that. I will try to correct it, and if any more problems come about, i will post again.
However, tomorrow i'll just delete this if it works
You shouldn't delete messages. Leave them here for future reference. Someone might have the same problem and when they search the forums and find this post they don't have to ask it again...