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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 8 14:30:07 PDT 2010


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



--- Comment #7 from Rainer Schuetze <r.sagitario at gmx.de> 2010-04-08 14:29:59 PDT ---
I'm not sure the way you did it on OSX is feasable on Windows aswell, because
you might not have access to all the info in the DLLs (maybe it's possible if
you export all necessary symbols in each DLL). But I guess it will not work for
dynamically loaded DLLs. My implementation does not need a "supervising"
function to run initializers, each binary just initializes the part it
contains.

I haven't done anything with respect to exception handling, but if I understand
it correctly, the exception frames are local to the functions and binary they
belong to, so they still are unwinded correctly. A simple test (catching an
exception from inside phobos.dll) was working correctly.

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