I make the interface in C ++ CLI separately from the main logic, which is written in C ++ and is a console application. I launch from CLI with the help
Process^ proc = gcnew Process(); proc->StartInfo->RedirectStandardInput = true; proc->StartInfo->UseShellExecute = false; proc->StartInfo->FileName = "c.exe"; proc->Start(); And now the question: what's next? How do I organize communication between them? When I click on a button, what do I need to do to send a request to a child process, how to process it there, and vice versa?