Examples Delphi

PLAY A WAV FILE:
if FileExists(configdir + 'INTRO.WAV') then
begin
PlaySound(pchar(configdir + 'INTRO.WAV'), 0, SND_ASYNC);