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

That is a very bad problem, let me tell this to my friends and maybe they have the answer and I tell you later, thanks for sharing.