[fpc-pascal]Yet another bug in Win32 CRT unit

Rich Pasco pasco at acm.org
Fri Mar 8 04:38:01 CET 2002


Marco van de Voort wrote:

> That is dangerous, since it could disrupt already running audio using apps.
> (the beep would simply be not audible, or other porgs might even crash.)
> 
> Don't forget that non-Dos oses are often multitasking!

I think it would be acceptable to make the sound from a Sound()
statement contingent on the audio system being available at that
moment.

If an attempt to use the audio system caused another program to
crash, then somebody is not following the OS's rules.

     - Rich




More information about the fpc-pascal mailing list