www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Tool for producing module def files?

reply Ken Barry <kb9888 gmail.com> writes:
Is there a tool for producing module definition files either from d source or
directly from a windows dll or is it necessary to write them by hand?
Aug 25 2008
next sibling parent "Simen Kjaeraas" <simen.kjaras gmail.com> writes:
On Mon, 25 Aug 2008 09:22:52 +0200, Ken Barry <kb9888 gmail.com> wrote:

 Is there a tool for producing module definition files either from d  
 source or directly from a windows dll or is it necessary to write them  
 by hand?
http://www.digitalmars.com/ctg/implib.html -- Simen
Aug 25 2008
prev sibling parent "Jarrett Billingsley" <kb3ctd2 yahoo.com> writes:
"Ken Barry" <kb9888 gmail.com> wrote in message 
news:g8tmkc$2cqm$1 digitalmars.com...
 Is there a tool for producing module definition files either from d source 
 or directly from a windows dll or is it necessary to write them by hand?
dmd -H foo.d will give foo.di, which is a "header" containing all necessary declarations (and possibly definitions) to interface with a precompiled foo.obj/lib/o/a. It tends to be buggy in some areas though.
Aug 25 2008