Re: Gracefully shutting down a thread in a DLL
- From: "Bruce." <noone@xxxxxxxxxxx>
- Date: Tue, 18 Mar 2008 18:32:47 -0500
"Christian Kaiser" <bchk@xxxxxx> wrote in message
news:%23HX0whQiIHA.748@xxxxxxxxxxxxxxxxxxxxxxx
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?
That sounds like a possibility. I've never hooked an API so I'll do some
research on that unless someone knows why that might not work.
Thanks for the idea!
Bruce.
.
- 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.
- Re: Gracefully shutting down a thread in a DLL
- From: Christian Kaiser
- Gracefully shutting down a thread in a DLL
- Prev by Date: Re: Gracefully shutting down a thread in a DLL
- Next by Date: Re: Gracefully shutting down a thread in a DLL
- 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
|