• Source
    1. #include <windows.h>
    2. #include <tchar.h>
    3. #include <string>
    4. #include <mmsystem.h>
    5. INT WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpszCmdLine, int nCmdShow)
    6. {
    7. PlaySound(L"11.wav", NULL, SND_FILENAME | SND_ASYNC);
    8. MessageBoxA(NULL, "11.wav", "head", 0);
    9. }
    10.  
    11.