www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Missing __ModuleInfoZ symbol when using dll

I tried creating a D DLL which I use in a D application and followed the 
steps in the DLL Howto on the homepage. Everything worked out fine so 
far but when I actually try to use a module thats defined within the dll 
and import it I get a linker error:

  Error 42: Symbol Undefined _D6thBase6format12__ModuleInfoZ

All the other functions I use from the dll link fine though.
When running the dll through dumpbin from visual studio the requested 
module is not listed in the exported symbols list of the dll.
What did I do wrong?

Kind Regards
Benjamin Thaut
Jan 28 2012