I'm working on a wrapper to a C dll and I think that I'll need to create a .lib 
file eventually to connect my D code to the C library.  

I've experimented with this a little, including using ipmlib to create the lib, 
which creates a lib but not one that works right (I think it mangles the names 
wrong.)  However, the excellent linkdef tool works to create a good .def which 
allows implib to create a proper lib.

Still, that seems a fussy way to build this: write it wrong, break it, use 
linkdef and implib to fix it.  I have the source code for that dll, so what I'm 
wondering is, can I just use some other DM tools (DMC?) to compile that C code 
and get a proper .lib from that?

Reply via email to