status of shared-libs on Windows?

Trass3r un at known.com
Thu May 19 14:20:07 PDT 2011


Am 19.05.2011, 22:28 Uhr, schrieb Graham Fawcett <fawcett at uwindsor.ca>:

> Hi folks,
>
> I've only used D on Linux so far, so I'm not clear on the current
> shared-library story on Windows. Consider an existing C++ application  
> that
> can be extended by writing plugins, which are usually written in C or  
> C++,
> and compiled as DLLs. Very generally speaking, is DMD capable of  
> producing
> DLLs that could be used by such an application?

Yep. Just be sure to use dll_helper as described in  
http://www.digitalmars.com/d/2.0/dll.html to intialize the runtime  
properly.


> If so, should I expect runtime-related issues if I create multiple  
> plugins with DMD, and load them all into the app?

Never tried that.


More information about the Digitalmars-d-learn mailing list