[D-runtime] DLL initialization in Druntime

Walter Bright walter at digitalmars.com
Sun Jan 16 13:58:20 PST 2011

Rainer Schuetze wrote:
> Walter Bright wrote:
>> If you're using multithreaded dlls in Windows, have you not seen the 
>> failed initialization issues? As I posted before, it's hard to see 
>> how it ever could have worked.
> I'm not using the gc-proxy, so I have not hit the problem. My DLL 
> works "stand-alone", i.e. it uses the standard GC without sharing 
> between DLLs. It loads into a C++/C# environment using COM interfaces 
> (but uses http://d.puremagic.com/issues/show_bug.cgi?id=4092 ).

That makes sense. The trouble comes when trying to share a gc.

More information about the D-runtime mailing list