|
From: Elias P. <Eli...@ao...> - 2000-11-23 16:29:49
|
> Hi there, > > I've got a C/C++-Beginners book wich tells me to use the API-Function > "PlaySound()" in a example which hides in Winmm.lib from VisualC. > > Does such a library exsist for Dev-C++? > > The dialog 'Project options' offers the possibility to name some > 'further object files or linker options ..' but I can't find a 'winmm.o' > on my disk and I got the full release version 4 of Dev-C++ already. > > All I have is 'winmm.dll' from Windows and 'winmm.def' from Dev-C++. > Does 'PlaySound()' work with these two? You need a 'libwinmm.a', and add '-lwinmm' to further options. |