I have a .dll I want to statically link to my C++ exe. I have created a header I believe to contain accurate function signatures, so I need to build a lib file from my dll. I use dumpbin to get the names of the functions in the dll, but most functions are nameless and have only ordinals. What should I put in my .def file then?
I have managed to find few batch scripts that create lib file from dll but they just ommit those nameless functions.
An in depth tutorial on lib, def, obj files and linking that goes to the bottom of the matter and is easy to follow would be greatly appreciated from many people I think, although I will be happy to just solve my problem aswell.
I am using Visual C++ Express 2010.