This is how I did it, I used sndPlaySound(filename, SND_SYNC |SND_LOOP) or PlaySound(filename, NULL, SND_SYNC|SND_LOOP) to play a .wav file but however I got a linking error message which says "unresolved external symbol". I've also included "mmsystem.h" header file. How can I solve the problem? What's the difference between sndPlaySound and PlaySound? Is it true that PlaySound can play a .wav from a resource while sndPlaySound can't?