Suprizes me! I've never used GetAsyncKeyState but now I understand that reading the keyboard input of another application can be easily achieved.Originally Posted by jdarling
Yep, this has been around since win 3.1 days. If you look at GetAsyncKeyState you can use it to read a key at any time, even if your application is running under another logged in user session . Quite useful at times, and a known security loophole in ALL versions of windows.
NOTE: MSDN QuickInfo reports that GetAsyncKeyState() requires at least Windows 95, or Windows NT 3.1. Was supported by Windows 3.1?
Bookmarks