I'm trying to play a .WAV in GUI (with Dev-C++) using the PlaySound( ) function, but the compiler and linker keep spitting back errors:
C:\DEV-C_~1\Include\lvp\gui_bot.h: In function `int WinMain(HINSTANCE__ *, HINSTANCE__ *, CHAR *, int)':
warning: converting NULL to non-pointer type
C:\Dev-C++\Borland\BCC55\Lib\PSDK\winmm.lib: file not recognized: File format not recognized
I'm using winmm.lib by loading it as an object file, but I'm not completely sure that it's the original winmm.lib file. I'd really appreciate some advice on how to fix this problem (or a link to where I could download a fresh version of winmm.lib).