Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27349

Need help for macros to work on 64 Bit

$
0
0
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


Viewing all articles
Browse latest Browse all 27349

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>