playsound

playsound

Post by steve » Thu, 29 Jul 2004 18:22:50


Hey guys,

I'm having difficulty getting LccWin32 to compile a PLAYSOUND
function.
I've added: #include <mmsystem.h>

but, it still generates a compile error.
Any ideas on this ?
Thanks,
Steve
 
 
 

playsound

Post by John » Fri, 30 Jul 2004 00:15:56


Have you linked with winmm.lib ?

John

 
 
 

playsound

Post by sarbay » Fri, 30 Jul 2004 02:49:17

Hey John,





No, I hadn't.
Seems I missed that part.

I went back into: Configuration::Linker::
and added: winmm.lib
and it now compiled fine.

Thanks for the tip.
Steve