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:

Compiler:
243 music1b.cpp
C:\DEV-C_~1\Include\lvp\gui_bot.h: In function `int WinMain(HINSTANCE__ *, HINSTANCE__ *, CHAR *, int)':
474 c:\dev-c_~1\include\lvp\gui_bot.h
warning: converting NULL to non-pointer type

Linker:
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).