The information in this article applies to:
SYMPTOMSIn Windows 98, FreeLibrary() will return FALSE if it is called within the DLL_PROCESS_DETACH code of DllMain(). CAUSE
Never call LoadLibrary() or FreeLibrary() within DllMain(). These calls can create dependency loops and result in thread deadlock. This has always been the case and is made clear within the Warning section in the online documentation for DllMain(). STATUSThis behavior is by design. Additional query words:
Keywords : kbDLL kbKernBase |
Last Reviewed: April 15, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |