Hi,
I need help playing a sound in Visual C++ 2008. (Windows Forms App). I've tried many things searching on google, I used this method:
PlaySound("beep.wav", 0, SND_LOOP|SND_ASYNC);
Then I get the error, "'PlaySoundW' : cannot convert parameter 1 from 'const char [9]' to 'LPCWSTR''. Can anyone help me play the sound 'beep.wav' that I have in my resources folder? I need it to loop forever, (or 9999999999999999999999 times if u know wut i mean :)).
Thanks in advance to anyone who can help.