Description: This code shows an easy way to simulate keyboard press and release keys to another application. It uses the SendInput API for simulating keyboard press and release keys.
To illustrate this technique we will show how to automatically run calc.exe and simulate add x and y and get the result back.
To Search:
File list (Check if you may need any files):
SimulateKeyboardHit.cpp