Add multiple modules to a DLL
peter
p.adject at mdt.org
Fri Jan 11 12:23:34 PST 2008
Don Clugston Wrote:
> peter wrote:
> > Greetings,
> >
> > I'm stuck here again. I compiled successfully the dll sample (d calling d code) in the D web site.
> >
> > The issue here is that i want to add multiples modules to the dll file.
> > I'm able to compile and create the dll but test.d is unable to find the other modules, it only recognizes contents from mydll.d.
> >
> > Am i doing something wrong? Please help.
> >
> > Thanks in advace.
>
> * 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.
More information about the Digitalmars-d-learn
mailing list