I want to use an .exe file inside my c++ program. I reviewed and checked these functions (system – ShellExecute – CreateProcess) to achieve this goal, but I found them useless because I need the output of that .exe file inside my program for further processes.
Share
CreateProcess can be used to pipe the output from the created program back to the creator. MSDN even has sample code to do exactly this: Creating a Child Process with Redirected Input and Output