http://bugs.winehq.org/show_bug.cgi?id=8091
--- Comment #25 from Anastasius Focht focht@gmx.net 2009-05-29 18:01:37 --- Hello,
well that part was a bit misworded...
--- quote --- Since the global ref count is never used (incremented) at all, the first one that calls DllCanUnloadNow() on this module will actually force to unload it even if COM objects exist with client still holding references. Such situation can happen if someone issues CoFreeUnusedLibraries() or something similar. --- quote ---
DllCanUnloadNow() will return S_OK for modules that don't implement global refcounting properly, indicating they can be unloaded at _any_ point - even if clients still hold references to exposed COM objects. Hope its more clear now ...
Regards