I can't seem to make hotkeys to work on 64 bits im using visual studio 2013 btw. I have read about the LongPtr function which for some strange reason doesnt work with my vb so here's how im declaring As Long.. Should be correct idk what happens, i used to do it like this but now it just doesnt work. Can someone help me
Code:
Private Declare Sub mouse_event Lib "user32" (ByVal dwflags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cbuttons As Long, ByVal dwExtraInfo As Long)
Private Const mouseclickup = 4
Private Const mouseclickdown = 2
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Long) As Integer