PS: > 1) Let the distributor of the DLL ship a .def file; this is what you > are advocating. > 2) Let the user create the .def file, using the Microsoft DUMPBIN > tool [1]. > 3) Let the user create the .def file, using the 'impdef' tool. [2]
And 4) Let the user create the .def file, using the 'dlltool' command
from mingw. [3]
[3] http://oldwiki.mingw.org/index.php/CreateImportLibraries
