[Bug 41703] Workaround LdrUnloadDll() for C libraries that do not support the dlclose() function

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jul 29 04:23:37 CDT 2017


https://bugs.winehq.org/show_bug.cgi?id=41703

xw897002528 at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #57086|0                           |1
        is obsolete|                            |

--- Comment #28 from xw897002528 at gmail.com ---
Created attachment 58819
  --> https://bugs.winehq.org/attachment.cgi?id=58819
hack edition3

A similiar patch to the first one, but there's no logical hole anymore, and
performed better than the second one, no env configuration is needed. Dlls
which need reload to refresh the memory, variables or reinit are not working,
same as dlls which depends on PROCESS_DETACH to continue. 

I cant reinit a dll once process_detach() or MODULE_FlushModrefs() is called.
Simply calling load_builtin_callback or process_attach() is not working, it's
difficult to archive the same effect from the outside.

-- 
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