From: Alex Blekhman on 11 May 2005 04:11 Tim Kannel wrote: >> That's not strange at all. When new thread is created or >> existing thread exits, then *all* loaded DLLs are >> notified with DLL_THREAD_ATTACH/DETACH. > > ... except DLLS referenced in calls to > DisableThreadLibraryCalls() Yes, you're right. I should have wrote "all loaded DLLs, except special cases that referenced in calls to DisableThreadLibraryCalls or loaded with LOAD_LIBRARY_AS_DATAFILE flag, etc.." |