Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keyboard tic (repeat) interval
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00291475
Message ID:
00292126
Vues:
25
Thanks George!

I think my biggest problem when playing with the API calls has been deciding the data types. I had them all messed up here. I was seeing DOUBLE as a DWORD (ie Double Word) when really its a double precision float. The others were just guesses.

For some reason I researched the data types in the Hacker's guide, MSDN, here, and the Wiki, and never thought to look at the DECLARE-DLL in the VFP Help for the lengths (until now), wow I feel silly. :)

One thing though, I had to add the @ to your example to get it to work:

llsuccess = (SystemParametersInfo(SPI_GETKEYBOARDSPEED, 0, lnspeed, 0) # 0)

changed to:

llsuccess = (SystemParametersInfo(SPI_GETKEYBOARDSPEED, 0,
@lnspeed, 0)
# 0)

But otherwise it was dead on.

Thanks again.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform