Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Beep API
Message
 
À
Tous
Information générale
Forum:
Windows
Catégorie:
API
Titre:
Beep API
Divers
Thread ID:
01074931
Message ID:
01074931
Vues:
68
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?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform