Hi I'm trying to play a WAV file. I have used the following code...
PlaySound("C\Sounds\GAME_OVER.WAV",NULL,SND_ASYNCH);
I get the following
Error 7 error C2065: 'SND_ASYNCH' : undeclared identifier c:\Users\Chris\Desktop\Pacman\v1.0\Pacman\Pacman.cpp 65
I have also tried...
PlaySound (TEX("\\SOUNDS\\GAME_OVER.WAV"), NULL, SND_SYNC | SND_NODEFAULT);
With this i get no sound or windows default sound
Please help :)