I have a dialog based MFC application through which I have to call a .NET executable.
My question are:
- How will the MFC application know that the .NET executable is closed?
- if suppose a .Net executable process some information and want to convey the output to the MFC application, how can this be achieved.
Please help!!
The MFC application can just wait for the .NET process to exit in the normal way – either using a wait handle or by polling it.
As for collecting output – the simplest mechanisms is likely to be for the .NET executable to write to a file, and then the MFC app can read it afterwards. It’s crude but very easy to implement!