I understand how to use CreateProcess, ShellExecute(Ex), _spawn, exec methods to start a child process from a parent process. Question: Is there a way I can return values back to the parent process from the child process? For example, the child process sets an integer value and I want the parent to be aware of this value when the child process completes execution.
Sample code is always appreciated.
Thank you in advance.