SSP
May 18th, 1999, 09:41 AM
Hi,
I have two exes to accomplish the requirements. EXE1 is a NT Service. It kicks off EXE2 by calling createprocess.(MFC app, which kicks off bunch of EXEs in the similar manner).
But when I stop the service, I TerminateProcess for EXE2. EXE2 is killed but EXE2 doesn't kill the bunch of EXEs mentioned in the destructor of View Class.
But if I kick-off EXE2 and kill it separately, all other EXEs are killed.
Any clue ? Any other way to accomplish killing of child EXEs of EXE2 ?
Your input will be appreciated!
I have two exes to accomplish the requirements. EXE1 is a NT Service. It kicks off EXE2 by calling createprocess.(MFC app, which kicks off bunch of EXEs in the similar manner).
But when I stop the service, I TerminateProcess for EXE2. EXE2 is killed but EXE2 doesn't kill the bunch of EXEs mentioned in the destructor of View Class.
But if I kick-off EXE2 and kill it separately, all other EXEs are killed.
Any clue ? Any other way to accomplish killing of child EXEs of EXE2 ?
Your input will be appreciated!