PlaySound and OpenWatcom
Any of you compile for Win32 using Open Watcom 1.3? I just upgraded from Watcom 11.0 and now I find there is a problem with the PlaySound() function. I get an error message something like "Undfined reference _PlaySoundA@12." I don't have the exact message handy, but it's something like that.
Anybody else run into this? Is it just a linker switch?
Thanks in advance!
You need to tell your linker to link to winmm.lib. Watcom's a bit obscure these days, so dunno if anyone can help you specifically with it.
Well, by chance if there is anyone out there who can tell me how to do it from with in the IDE (I'm a lazy weekend coder), I'd appreciate it.
Thanks for the tip.
I got it to work. Linking to the lib was the key!