[Dev-C++] problem with 'PlaySound' function
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Francisco V. <fco...@pr...> - 2003-06-10 06:02:14
|
Can someone help me?
I have this piece of code
case WM_CREATE:
PlaySound (TEXT ("hellowin.wav"), NULL, SND_FILENAME | SND_ASYNC)
;
return 0 ;
The problem is I recive the follow message from linker
C:\WINDOWS\TEMP\ccdJDcgb.o(.text+0x1e0):hellowin.c: undefined reference to
`PlaySoundA@12'
I get that the PlaySound funtcion is defined in the LIBWINMM.A file, but I
can't get the linker use that file.
ThankYou: Fracisco Velez
|