|
From: <ste...@ge...> - 2001-08-05 00:43:45
|
Wow... It works!!? Then do you also know how do stop playing, and other =
nice stuff?
Thanks alot by the way :)
----- Original Message -----=20
From: Tomas Dolejsi=20
To: dev...@li...=20
Sent: Saturday, August 04, 2001 11:44 PM
Subject: RE: [Dev-C++] PlaySound(); ???
Hi=20
try adding -lwinmm (or something like that) to your linker
option (project option - further object files or linker option)
That should help.
-----Original Message-----
From: dev...@li... =
[mailto:dev...@li...]On Behalf Of Stein =
Nyg=E5rd
Sent: Saturday, August 04, 2001 4:13 PM
To: C+_malinglist
Subject: [Dev-C++] PlaySound(); ???
Hi!
I was running through some sourcecode the other day, and I ran into =
this line;
PlaySound("Data/Explode.wav",NULL,SND_FILENAME|SND_ASYNC);
But, when I use this in Dev-Cpp the Linker says this;
e:\opengl\project 04\main.o(.text+0xa9):main.cpp: undefined =
reference to `PlaySoundA@12'
What am I missing?
Thanks! :)
|