Missing __ModuleInfoZ symbol when using dll

Benjamin Thaut code at benjamin-thaut.de
Sat Jan 28 10:46:09 PST 2012

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

More information about the Digitalmars-d-learn mailing list