Add multiple modules to a DLL

peter p.adject at mdt.org
Mon Jan 14 21:18:34 PST 2008


torhu Wrote:

> peter wrote:
> > Don Clugston Wrote:
> >> 
> >> * You need to pass all the filenames on the command line,
> >> eg
> >> dmd mydll.d test.d
> >> *You can also use bud/build instead. You *cannot* use rebuild/dsss to build a dll.
> >> Bud works very well for me with making DLLs. Although I've never tried to use a 
> >> D DLL from D, only from C++.
> > 
> > yes, i have done this (the dll compiles fine) but the main exe is unable to compile because it doesnīt recognizes the ini module in the dll.
> 
> What error messages do you get, exactly?

I get symbol errors:
_D3ini3Ini7_ClassZ

And you canīt simple declare an import in a def file because you canīt declare = mydll.ini.Ini (it doesnīt work) or = ini.Ini (as ini.dll doesnīt exists)



More information about the Digitalmars-d-learn mailing list