I'm working in the win32 api in C++. I have a parent process, and I'm using it to run a new program through a call to ShellExecute.
I'd like for the child process to be able to talk to the parent process (Communication only needs to go one way). I think an anonymous pipe would be suitable for this, and I've found how to create the pipe using the CreatePipe function, but I'm unsure of how to give the pipe to the child process using the ShellExecute command.
Could anyone point out a decent/relevant tutorial on this? Or, if another form of IPC works better than pipes, please point me in that direction.
In case its relevant, this is what my shell execute command looks like:
ShellExecute(NULL, "open", "Argo\\argo.exe", NULL, NULL, 1);