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

javascript - Create websocket without connecting -

how to do line continuation in perl debugger for entering raw multi-line text (EOT)? -

android - Linear layout children not scrolling -