running c++ console app in c#
hello, i have c++ console app.exe want run using c# gui. c++ app executes functions on key press ( f1, f2, f3) i tried designing gui c# , using code/ideas found on stackoverflow far not working. want able press ( f1, f2, f3) on c# app , simulate in c++ running in background. thanks help, al hi, based on current description, let me list need do. 1. start console application in c# gui. 2. monitor key events in c# application, when f1 f6 hit, should pass input console application. for first step, can start console application using process class in .net. for second step, think idea christopher provided worth trying. in thread. http://stackoverflow.com/questions/6760341/control-console-application-from-windows-form-application-c-sharp when key press events triggered, can redirect input console application. if did not work, at https://msdn.microsoft.com/en-us/library/ms171548.aspx in the section "to send keystroke different...