#include
# pragma comment (lib, "winmm. Lib")
Int WINAPI WinMain (HINSTANCE HINSTANCE, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd)
{
PlaySound (L "E: \ \ My VisualStudio \ \ Firstblood \ \ 1. Wav", NULL, SND_FILENAME | SND_ASYNC);
MessageBox (NULL, L "First blood!" , L "First blood! Message window ", 0);
return 0;
}
Normal program compilation is complete, a Message window pops up but there is no sound,