General information
Category:
Windows API functions
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.
Previous
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