Problem with remoteExecute and IProces().Terminate
Posted: Tue Nov 08, 2005 11:24 am
Hi,
I use on my app madRemote and madKernel.
The sequence is:
1. Create a process with CreateProcess API (iPH)
2. In some time, from my app, call RemoteExec to change an environment variable of iPH.
3. When my app is closing, madKernel Process(iPH).Terminate.
All works fine if I don't execute point 2. But if I execute point 2 my app generates a EExternalException when point 3 is executed.
Any idea to solve this?
Thanks.
I use on my app madRemote and madKernel.
The sequence is:
1. Create a process with CreateProcess API (iPH)
2. In some time, from my app, call RemoteExec to change an environment variable of iPH.
3. When my app is closing, madKernel Process(iPH).Terminate.
All works fine if I don't execute point 2. But if I execute point 2 my app generates a EExternalException when point 3 is executed.
Any idea to solve this?
Thanks.