I'm trying to play a simple wav file using SDK's PlaySound(...) function. Maybe I'm missing something simple here, but I can't import the winmm.lib file for some reason. Here's what I put at the beginning of the cpp file that I want to use PlaySound() in"
#include <mmsystem.h>
#import "C:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\lib\winmm.lib"
I'm getting the error "cannot open type library file". I know for a fact that it is in that directory. Any ideas? Thanks in advance!
#include <mmsystem.h>
#import "C:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\lib\winmm.lib"
I'm getting the error "cannot open type library file". I know for a fact that it is in that directory. Any ideas? Thanks in advance!