> Thanks. The loading part is very useful, but I'm still lost > when it comes to build the shared library itself. > > Andrei Program loads dll at runtime using loader which is configured to load concrete dll file(s). Like in gtkD http://www.dsource.org/projects/gtkd/browser/trunk/src/gtkc/Loader.d