MSVC is wierd. at first, i had accidently told MSVC to link to winmm.dll. i got an error, so then i changed it to winmm.lib, and then i started getting the error i stated in my last reply. I created a new workspace, and added my source, headers, and resource files to it, linked to winmm.lib, and everything compiled without warnings of any kind oh well, everything is working fine now.