Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Beep API
Message
 
To
All
General information
Forum:
Windows
Category:
API
Title:
Beep API
Miscellaneous
Thread ID:
01074931
Message ID:
01074931
Views:
65
Having a need to beep the speaker at determined frequency and duration, I was using a combination of Beep() and Sleep() in kernel32 with success ... until running on Win98. I found out Beep() just doesn't work.

Fact of life: customers don't want to throw away a working computer! They still use Win98.

Scouring the web farther, I found various bits of code relating to inline assembler (WOW!) in Delphi :( . Looking at the assembly code, however, it seems it is writing directly to the chip at address 43. Looks like I could rewrite this in C and make a DLL, and call that from VFP. Should work for those situations where the customer is using Win9x OS, but I have to test the OS version before calling the DLL.

Is there an easier way of doing this?
Next
Reply
Map
View

Click here to load this message in the networking platform