T
Tiri
Guest
my message didn't post correctly, so i repeat my msg
hi.
i would like to know, how to use this procedure? when i put it into my script, it just doesn't work. i don't get any sound.
look at this example:
it properly finds that file, prints it duration, but sound is not played.
what can be reasons for this? does this procedure needs any initialization or setup? should i check some settings?
hi.
i would like to know, how to use this procedure? when i put it into my script, it just doesn't work. i don't get any sound.
look at this example:
Code:
WriteLn(IntToStr(GetSoundDuration('C:\WINDOWS\Media\ding.wav')));
PlaySound('C:\WINDOWS\Media\ding.wav');
what can be reasons for this? does this procedure needs any initialization or setup? should i check some settings?

