Robert Meek wrote: > The first is in regards to playing a simple sound file, ( Wav ), > at one second intervals. Right now after trying some of the related > methods and parameters, I'm using 'PlaySound(PChar(SelIntervalWavFile), > 0, SND_ASYNC);' and a wav file that just plays a beep. Other methods > related to this one either cycle out of synch or skip seconds, and > though this one seems to keep up with my timing event, the first couple > beeps play late. I'm not sure where the majority of the problem lies, > but I believe it's due to having to load and re-load the file. Is there > anyway of loading such a file into memory before the countdown begins > and stays there so that this problem is eliminated?
Yes. Check the documentation for PlaySound for additional options regarding the source of the sound. The first parameter doesn't have to be a pointer to a null-terminated array of characters. -- Rob _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

