|
From: Tomas D. <do...@vo...> - 2001-08-04 21:44:42
|
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 thi=
s
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 t=
o
`PlaySoundA@12'
What am I missing?
Thanks! :)
|