--- In [EMAIL PROTECTED], "entropyreduction" <[EMAIL PROTECTED]> 
wrote:

> But, suppose every DllMain gets called with DLL_THREAD_DETACH, and 
> that that call takes a while to get through the system.  By which 
> time unload has been called and DllMain has gone away?


One possibility is that you could turn off DLL_THREAD_DETACH and
DLL_THREAD_ATTACH messages using


  BOOL DisableThreadLibraryCalls( HMODULE hModule);

see

http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/dllproc/base/disablethreadlibrarycalls.asp

I tried it in the process attach section of my net DllMain; had no 
effect.  Maybe you could try in your code that loads libraries.

Just a thought.







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to