I've seen that, too, but have not tried it yet. As Roald has also
pointed out, there are other things you might want to share between dlls
(threads, file handles, etc.).
Robert Jacques wrote:
On Mon, 22 Feb 2010 02:46:31 -0500, Rainer Schuetze <[email protected]>
wrote:
5. To share gc-collected objects between different DLLs, a common
phobos-DLL seems necessary. Extracting the GC into a separate DLL and
using the proxy-mechanism to attach any other client-DLL to it seems
feasable, but are there other things that need to be shared between
different phobos-instances? What about exception-handling?
druntime (D2) already supports sharing the GC between DLLs.