Using SendInput

hello...

I want to create a program which could emulate the keyboard. Its like making the program press the key. I found out that the function sendinput() could emulate the keystrokes and help me do my job. But I got stuck on to how to create a particular keystroke.

Could anyone please help me with an example of creating the keystroke with the help of C++.

thanks..
Just copy one of the numerous MSDN samples.
Topic archived. No new replies allowed.