I a developing a portable executable in C++ which can be given a string as a command-line input and it will type it emulating the keyboard; using keypresses.
In the f