http://bugs.winehq.org/show_bug.cgi?id=18425
Summary: DLL_PROCESS_DETACH isn't called if a dll returns FALSE on a DLL_PROCESS_ATTACH call Product: Wine Version: 1.1.21 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: kgbricola@web.de
Created an attachment (id=21028) --> (http://bugs.winehq.org/attachment.cgi?id=21028) testcase
Wine does not call DLL_PROCESS_DETACH when the dll returns FALSE on a DLL_PROCESS_ATTACH call.
Attached is a test case which shows the bug. The output on wine: ###########Load
and on winXP: ###########Load ###########Unload
This was tested with wine-1.1.21.