I've found DLL Export Viewer that allows me to list available functions in a DLL, now I need to run one of them. Actually, I am trying to get the library version this way, since there is no metadata, therefore the function probably doesn't have parameters. I know I can write a program to do that, but does anybody know a utility with which it can be done fast and easy?
Apparently, the easiest way to do this is with python:
>>> from ctypes import * >>> dll = cdll.LoadLibrary("libmylib.dll") >>> c_char_p(dll.mylib_version_str()) c_char_p(b'1.1.6')
mylib_version_str is the function name that was found using DLL Export Viewer.