.def file generator for .dll files
python impdef.py destination.def source.dll
Import libraries can then e.g. be generated by running lib (typically included in same installations as dumpbin, see below):
lib /machine:amd64 /def:destination.def
- Python 2 or 3
dumpbin.exefrom e.g. Visual C++ Compiler for Python 2.7, Visual Studio Community, or Platform SDKs
(adjustdumpbinvariable in impdef.py to point to installeddumpbin.exe)