Exported function in DLL not found by ctypes

Viewed 22

I have a DLL file (together with a .h and .lib) provided by a third party. DLL export viewer sees a lot of exported functions as shown below. However I do not manage to access those functions using ctypes in python. I tried many functions with the same result.

>>> import ctypes
>>> lib = ctypes.cdll.LoadLibrary(r"C:\Users\XXX\XXX\myDll.dll")
>>> lib.COM_Init()
AttributeError: function 'COM_Init' not found

What would be a way forward to use this library in python?

enter image description here

0 Answers
Related