64 bit declarations

AlexRigholt

Registered User.
Local time
Today, 20:58
Joined
Nov 14, 2008
Messages
36
Hi, a year ago or so I found a list of function declarations for 64-bit. I didn't bookmark it and can't find it again - does anybody know where I can find it?

I'd like to verify this bit of code:

#If VBA7 Then
Public Declare PtrSafe Function GetKeyState Lib "User32" (ByVal nVirtKey As Long) As Integer
#Else
Public Declare Function GetKeyState Lib "User32" (ByVal nVirtKey As Long) As Integer
#End If
 
You could use the similar threads at the bottom of this page or the forum search feature.
Or you could use the Windows API viewer to help with conversions

EDIT: I've now used that to check the declaration and it is indeed correct
 
Last edited:
@AlexRigholt
I've restored this thread which you deleted as the content may be useful to others even though you've now got a solution.
Please don't delete threads with responses in future.
 
Very sorry, moderator, I thought I could delete it before anyone saw it.
I had searched all over the forum in vain. After I posted my question, the links appeared below it, so I removed my question as it had clearly been answered before.

@AlexRigholt
I've restored this thread which you deleted as the content may be useful to others even though you've now got a solution.
Please don't delete threads with responses in future.
 
It already had two answers from Gasman & myself so obviously others had seen the thread. In fact its been viewed at least 37 times.
 

Users who are viewing this thread

Back
Top Bottom