|
From: <Ala...@cs...> - 2002-02-04 15:56:34
|
Hello:
I am using Dev C++ version 4.1 . The following statement does not
compile:
PlaySound("hellowin.wav",NULL, SND_FILENAME | SND_ASYNC);
The errors are:
SND_FILENAME undeclared first use of function
SND_ASYNC undeclared first use of function
PlaySound implicit declaration of function
The include statement is #include<windows.h>
If I add #include<mmsystem.h> the errors move from the compiler to the
linker stages.
The statement does compile on a Borland compiler. Any help would be
appreciated.
|