S
Sraj
There is a process A that launches process B as a COM object.
If the User tries to end process A, process B should also end. But vice
versa is not true. Process A can run independant of process. It is not
possible for a user to know process B is launched by process A.
In the destructor of Process A, there is a code to close process B. During
normal closing of process A, process B also gets closed. In certain
situations this is not happening-
1. When I clsoe process A from task manager, process B is still running. How
to close process B in this situation from code?
2. If process A has launched Process B, and process A has crashed, it still
leaves process B running.
This is a situation I would like to avoid. How is it possible to handle
these scenarios?
If the User tries to end process A, process B should also end. But vice
versa is not true. Process A can run independant of process. It is not
possible for a user to know process B is launched by process A.
In the destructor of Process A, there is a code to close process B. During
normal closing of process A, process B also gets closed. In certain
situations this is not happening-
1. When I clsoe process A from task manager, process B is still running. How
to close process B in this situation from code?
2. If process A has launched Process B, and process A has crashed, it still
leaves process B running.
This is a situation I would like to avoid. How is it possible to handle
these scenarios?