Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with Keyboard using Windows API

Status
Not open for further replies.

Ferlin

Programmer
Jan 18, 2001
71
US
Hello All,

I am working on an application that allows me to connect to my pc at work from home. I have the connection working fine using winsock, my next step is to send certain strings to the remote computer and have it look to the remote computer like I typed it directly on the keyboard. These strings will be very short commands.

I thought about using the keybd_event in the windows API to simulate keyboard entry. My question is this, has anyone written or does anyone know where I can get code to take the string received in the DataArrival routine and convert it into the Virtual-key codes?

If so it may save me the time from writting one myself.

Thanks in Advance.

Ferlin.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top