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

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

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

html - jQuery UI Sortable - Remove placeholder after item is dropped -