2

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?

2

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')

Where mylib_version_str is the function name that was found using DLL Export Viewer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.