Hi!
Why don't you take a look in the
MSDN PlaySound()? There is the following description about the first parameter:
Zitat von
MSDN PlaySound():
A string that specifies the sound to play. The maximum length, including the null terminator, is 256 characters. If this parameter is NULL, any currently playing waveform sound is stopped. To stop a non-waveform sound, specify SND_PURGE in the fdwSound parameter.
So...
PlaySound(Nil, 0, 0);
Regards,
Muetze1