Extract lib from dll on Windows

1. exports extract the functions and classes in *.dll by:$> dumpbin.exe /exports libsample.dll /out:libsample.def 2. function names edit libsample.def and remove everything except function names (keep C++ name mangling chars). then add EXPORTS as the first line. as: 3. make *.lib run this line depending on architecture:$> lib.exe /def:libsample.def /machine:arm /out:libsample.lib source