Hi!

i wrote a DLL in delphi, now, how can i generate a .LIB file from that DLL to be able to use that DLL's export functions from a vc++ application (i want the lib file to compile it with my project).

i've tried:
LIB /def:mydll.dll

but it doesn't work, it generates a LIB file, but not in the right format.
the functions names, aren't there, it also throws warning messages, about it
doesn't understand the MZ mark of the DLL (???)

i also tried IMPLIB from Borland C, but the format of the lib file is different
from the one microsoft uses.

how can i solve this? i have the delphi source code for the DLL, can i tell
delphi to generate the LIB file automatically?

help please, thank you.