[Issue 4071] Missing support to share memory and objects between DLLs and executable

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Apr 11 05:52:29 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4071



--- Comment #10 from Rainer Schuetze <r.sagitario at gmx.de> 2010-04-11 05:52:26 PDT ---
Circular dependencies between binaries are detected at link time, because
you'll have the circular reference issue when creating the DLLs.

moduleCtor() checks whether imported modules are in the same binary, and if
not, intializers are not called assuming that they are initialized already,
because the DLL they are in is already fully loaded.

The proposed implementation is meant to produce a shared phobos.dll. If you
want to apply it to other libraries, some functions need to be extended
(especially patching relocations to data values which currently works only for
a single DLL).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list