Am 19.05.2011, 22:28 Uhr, schrieb Graham Fawcett <fawc...@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.

Reply via email to