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

Simon s.d.hammett at gmail.com
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:

http://dependencywalker.com/

-- 
My enormous talent is exceeded only by my outrageous laziness.
http://www.ssTk.co.uk


More information about the Digitalmars-d-learn mailing list