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.
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.