well, if your still online in about an hour and a half, i can help you out via TeamViewer or some shit.
SolvedGlobal Hotkeys
Wish I could see the original source to solve (not bypass) the issue.
I assume your issue (may be) here:
I have seen an issue where GetAsyncKeyState doesn't work properly on Windows 7 if Declared as Integer, Should (could) be declared as Short .
Try it, Problem should be solved instead of "Working Around It"
I assume your issue (may be) here:
Code:
Public Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Integer) As Integer
Code:
Public Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Integer) As Short
Woot thanks nextgen, and this will work on xp and vista too i'm assuming?
For future reference, when you're referencing API functions from the windows libraries (user32.dll, kernel32.dll, psapi.dll....etc), it's best to either check the method signature on MSDN:
GetAsyncKeyState function << GetAsyncKeyState
or take a look on PInvoke for an accepted method signature:
pinvoke.net: GetAsyncKeyState (user32) << GetAsyncKeyState
GetAsyncKeyState function << GetAsyncKeyState
or take a look on PInvoke for an accepted method signature:
pinvoke.net: GetAsyncKeyState (user32) << GetAsyncKeyState
@Blubb1337, Short and Int16 are essentially the same thing.
And I often get my declerations from PInvoke.net too, great site.
And I often get my declerations from PInvoke.net too, great site.Similar Threads
Visual Basic Programming[Help]Easy Global hotkeys[Solved]
7 Dragon Nest Hacks & CheatsDragon Nest SEA patcher 0.2: Disable GPK / Multiclient / Unblock Global Hotkeys
336 Visual Basic Programming[Tutorial]Global Hotkey[Leeched]
18 Visual Basic Programming[Help] Global Hotkey [Solved]
6 MapleStory Hacks, Cheats & TrainersPlz I Want Maple Global Hacks And Where Do I Get Game Engine 2 Make The Hacks Work???MA 3

