Information Systems

MSVC lib file from .def file

Sometimes you need a .lib file and all you have is a list of function names (.def). You can do this using the lib.exe utility that comes with MS Developer Studio. First you need to set Dev Studio's command line variables using vcvars32.bat. Then run:

lib /machine:i386 /def:function_list.def