Capturing key press/release events on keyboard for all keys in VC+

Capturing key press/release events on keyboard for all keys in VC+

Post by dmlkaHl » Fri, 21 Jan 2005 15:13:01


I use keybd_event to press and release the keys in keyboard and I use
GetKeyState to retrieve the state of the key pressed/released. In Client
machine I need to press the keys using keybd_event and in Server I have to
get the key State. Now when i run the server and client in the same machine
everything is working fine...But when the server is run in a different
machine problem occurs..I tried with SendInput () method too...but no
use...can anyone help me in this plzzz ?