vb.net - Key detection does not work while in-game -


i making cheat, can used in game. have problem. using detect when did user press hotkey:

private declare function getasynckeystate lib "user32" (byval vkey integer) short 

in combination with:

if (getasynckeystate(convert.toint32(bind))) 

it works while in windows, turns out when start game, not detect key presses @ all.

how fix that?


Comments

Popular posts from this blog

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

StringGrid issue in Delphi XE8 firemonkey mobile app -