Does D support plugins with dll written in D ?

chmike via Digitalmars-d digitalmars-d at puremagic.com
Tue May 27 02:56:56 PDT 2014


Hello,

note that D is still very new to me.

The documentation for 
http://dlang.org/phobos/core_runtime.html#.Runtime.loadLibrary is 
a bit too terse to answer my question.

I would like to know if it would allow to use Object.factory() 
with the classes defined in the loaded library and if the GC 
would manage data allocated with new in the code of the library.

Does the loaded dll need to be defined as a module or something 
like that ?



More information about the Digitalmars-d mailing list