I tried this code when the window loads to play a sound file which placed in the directory where my source files are:
It gives me this error:Code:case WM_CREATE: PlaySound("hellowin.wav" ,NULL,SND_FILENAME | SND_ASYNC); return 0;
hellowin.obj : error LNK2001: unresolved external symbol __imp__PlaySoundA@12




Reply With Quote