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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only