Hi, I am trying to redirect input/output from a program called from CreateProcess(). I have found a lot of info on this but it all refered to coding the child process as well as the parent and in this case the child process is not written by me.
I am trying to capture input from a command line telnet session using a command line version of putty. So far I have successfully launched the command line putty program and logged into the session but that was all handled with CreateProcess(). Now I want to start outputting the session to a text box and also be able to send the session commands via buttons. Is there anyway to grab the screen ouput from the created process and redirect it to my parent process to display it? Same with taking input from the parent and passing it to the child. i.e. Is there anyway to "fake" a keyboard input to the called process?