64 bit declarations (1 Viewer)

AlexRigholt

Registered User.
Local time
Today, 21:14
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
 

isladogs

MVP / VIP
Local time
Today, 19:14
Joined
Jan 14, 2017
Messages
18,209
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:

isladogs

MVP / VIP
Local time
Today, 19:14
Joined
Jan 14, 2017
Messages
18,209
@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.
 

AlexRigholt

Registered User.
Local time
Today, 21:14
Joined
Nov 14, 2008
Messages
36
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.
 

isladogs

MVP / VIP
Local time
Today, 19:14
Joined
Jan 14, 2017
Messages
18,209
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

Top Bottom