DLLs and headaches

Richard Webb numpsyuk at hotmail.com
Thu Sep 17 16:40:59 PDT 2009


Don Wrote:

> If D2 -- I haven't been able to get D2 DLLs to work at all. They just 
> crash during the initialization (something to do with initialising the 
> thread-locals, I think, but I haven't been able to track it down 
> completely).

Hi,
I've recently been having a go at writing a COM object in D, and have run into this when trying it in D2.

Debugging through it, i get a crash on the 

void* pstart = cast(void*) &_tlsstart;

on line 1192 of thread.d, due to a null pointer access.
This sounds like the issue described at http://www.nynaeve.net/?p=187 ?

Is this a known problem with D2 ?


More information about the Digitalmars-d-learn mailing list