Thread overview
Tool for producing module def files?
Aug 25, 2008
Ken Barry
Aug 25, 2008
Simen Kjaeraas
August 25, 2008
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?
August 25, 2008
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
August 25, 2008
"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.