Delphiran - Delphi Tips
Question :
How can I work with the PC Speaker ?

Answer :
There is an API function :

function Beep(dwFreq, dwDuration: DWORD): BOOL; stdcall;

Note you need to refer to it in code as Windows.Beep, since there is a parameterless Beep in Sysutils. Unfortunately the function parameters are ignored in Win95 (and probably Win98 too), they work on NT.

 
 

 
 
© All rights reserved 1999 BuyPin Software