I tried adding _DELAY 1, it didn't help. However, the sound card should be initialized at the time of running this program, because when Windows 7 starts, the first sound chime goes before entering the password into the system, only then does this program start, it is true that at the same time another sound plays in windows - after starting system. The expected output, even if there is a problem with the sound, would be running the program without sound - not that the program will not start at all. I try then to add a pause 10 seconds after the start (_DELAY 10), the introductory sound is be played ... but this program is not run. So - maybe, if in program start is already sound card used, maybe your 3rd party sound software close the program?