Re: Gracefully shutting down a thread in a DLL
- From: "Christian Kaiser" <bchk@xxxxxx>
- Date: Tue, 18 Mar 2008 15:57:49 +0100
"Bruce." <noone@xxxxxxxxxxx> wrote in message
news:%23eSG29PiIHA.484@xxxxxxxxxxxxxxxxxxxxxxx
It's working now, other than for the exit cleanup problem.
Bad idea. You did a lot of work on 99% that will never be able to work
because of the rest of 1% ;-|
Seriously: there's no way. The cleanup thread must be terminated
before PROCESS_DETACH is called by the loader. Perhaps if you hook the
"ExitProcess()" API so that you're noted when the application wants to
quit?
Christian
.
- Follow-Ups:
- Re: Gracefully shutting down a thread in a DLL
- From: Bruce.
- Re: Gracefully shutting down a thread in a DLL
- References:
- Gracefully shutting down a thread in a DLL
- From: Bruce.
- Re: Gracefully shutting down a thread in a DLL
- From: roger . orr
- Re: Gracefully shutting down a thread in a DLL
- From: Bruce.
- Gracefully shutting down a thread in a DLL
- Prev by Date: Re: Gracefully shutting down a thread in a DLL
- Next by Date: Re: GET KPROCESS from user mode
- Previous by thread: Re: Gracefully shutting down a thread in a DLL
- Next by thread: Re: Gracefully shutting down a thread in a DLL
- Index(es):
Relevant Pages
|