Re: Create Thread problem
- From: "Saurav" <ursaurav@xxxxxxxxx>
- Date: 25 Aug 2006 01:30:47 -0700
Thanks Ara for the reply. Actually problem is that i have created a
process which further creates a process in debug mode and a thread is
running in that parent process which receives all the debug events. But
the problem is that when the parent process is killed the debugger
thread is also getting killed which in turn kills the child process,
because killing the debugger will also kill the debugee. So i want that
even if the parent process gets killed the debugger thread should keep
running so that child process doesn't gets killed. I hope now you
understand the problem.
Ara Avanesyan wrote:
Can we create a thread in windows which doesn't get killed with theno, no, it's nonsence
parent process id? If answer is No then can we change the parent
process of a thread?....
instead of thinking of changing thread's parent process, create the thread
in context of that other process (CreateRemoteThread)
.
- Follow-Ups:
- Re: Create Thread problem
- From: Chris Becke
- Re: Create Thread problem
- References:
- Create Thread problem
- From: Saurav
- Re: Create Thread problem
- From: Ara Avanesyan
- Create Thread problem
- Prev by Date: Re: Create Thread problem
- Next by Date: Re: Create Thread problem
- Previous by thread: Re: Create Thread problem
- Next by thread: Re: Create Thread problem
- Index(es):
Relevant Pages
|