Sean Breheny wrote: > There is a part of the win95/98 API (PlaySnd or PlayWAV, IIRC) which > allows you to play WAV files by just one line of C code (one function > call). However, it gives you no ability to stop the WAV file while it > is playing, That explains what ICQ does... > There are lower level calls which allow you to feed the samples to a > buffer and tell windows to send that to a sound card. You can tell > that win95's Sound Recorder does this because if you click on the > window and move it and then hold the mouse button down, it will play > the sound for a few seconds and then stop until you release, > presumably giving it a chance to reload the buffer. Yeah. It's annoying how easily you can jam the pseudo-multitasking of Windoze. That's why Linux/ X is so nice... Just about nothing jams (or has someone some anecdotes?). -- Cheers, Paul B.