How to build DLL with .def file

  • Thread starter Thread starter FrzzMan
  • Start date Start date
F

FrzzMan

Hello,

How can I build the DLL with .def file? I've just build the DLL with
following cl.exe options to build, it's worked. But I can't use the DLL
in my C# project cause it need to be built with .def file.

cl.exe -nologo -LD -W3 -O2 -GF mydll.c

So, can you tell me how to build the library with .def file? Use only
command line tools... I do not have VC++ IDE.
 
FrzzMan said:
How can I build the DLL with .def file? I've just build the DLL with
following cl.exe options to build, it's worked. But I can't use the DLL
in my C# project cause it need to be built with .def file.

cl.exe -nologo -LD -W3 -O2 -GF mydll.c

So, can you tell me how to build the library with .def file? Use only
command line tools... I do not have VC++ IDE.

I suggest you ask in a C or C++ newsgroup - this group is for C#.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top