David O'Brien asked:

> Any ideas how to control the PC Speaker in D5?

On WinNT you use Win32 API call Beep which driver the speaker for you. On
Win9x you do it the old fashioned way by fiddling with the speaker IO port
and timer to generate a tone. Check in an old DOS reference book, or check
the web for some sample code.

Cheers, Max.


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to