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

Simon s.d.hammett at
Mon Dec 19 10:39:03 PST 2011

On 19/12/2011 18:01, Andrej Mitrovic wrote:
> Check if GetProcAddress returns null? It seems to me you're looking
> for _magicFunction but defining magicNumber, two different names.

that's be it. can't remember the rules for whether it will have a 
leading underscore, but you can always use dependency walker to find out:

My enormous talent is exceeded only by my outrageous laziness.

More information about the Digitalmars-d-learn mailing list