Allocating memory in D shared library when accessed from C++

Trass3r un at known.com
Mon Dec 19 14:09:30 PST 2011


> It actualy returns a procedure address and the procedure is called. It  
> lands inside export extern (C) int magicNumber() and crashes when  
> attempting to allocate memory for Something.

Did you properly initialize druntime?


More information about the Digitalmars-d-learn mailing list