In the good old days it was possible to create a link lib for a DLL, something like this:-
But these days that produces fatal error LNK1118: syntax error in '0' statement
Back in the day, a .def file had this format (which still works):-
But these days, dumpbin produces this (which no longer works and produces the error):-
Anyone know if there's a fix available ??
Code:
1) dumpbin /EXPORTS my.dll > my.def
2) Edit the generated file so that it only contained the function info with a line at the top saying EXPORTS
3) Run something called vcvars32.bat
4) Finish by running lib /def:my.def /machine:x64 /out:my.libBack in the day, a .def file had this format (which still works):-
Code:
EXPORTS
AlphaTransparencyToText @1
BoolToText @2Code:
EXPORTS
1 0 00015680 AlphaTransparencyToText
2 1 00015870 BoolToText