[Bug 18425] DLL_PROCESS_DETACH isn't called if a dll returns FALSE on a DLL_PROCESS_ATTACH call

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Nov 25 04:12:40 CST 2009


http://bugs.winehq.org/show_bug.cgi?id=18425





--- Comment #4 from Nikolay Sivov <bunglehead at gmail.com>  2009-11-25 04:12:40 ---
This behaviour is documented actually, attached testcase just proves it:

http://msdn.microsoft.com/en-us/library/ms682583%28VS.85%29.aspx

---
DLL_PROCESS_DETACH
---
The DLL is being unloaded from the virtual address space of the calling process
because *it was loaded unsuccessfully* or the reference count has reached zero
(the processes has either terminated or called FreeLibrary one time for each
time it called LoadLibrary).
---

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list