|
From: Tomas D. <do...@vo...> - 2001-08-05 09:24:49
|
I know nothing at all about playing sounds under windows, i'm sorry.
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...]On Behalf Of Stein Nyg=E5=
rd
Sent: Sunday, August 05, 2001 2:46 AM
To: dev...@li...
Subject: Re: [Dev-C++] PlaySound(); ???
Wow... It works!!? Then do you also know how do stop playing, and other
nice stuff?
Thanks alot by the way :)
----- Original Message -----
From: Tomas Dolejsi
To: dev...@li...
Sent: Saturday, August 04, 2001 11:44 PM
Subject: RE: [Dev-C++] PlaySound(); ???
Hi
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=E5=
rd
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 referen=
ce
to `PlaySoundA@12'
What am I missing?
Thanks! :)
|