Hello, I have problems to make this dll works with a python script. With autoit, all is ok and it works like a charm but i would like to use it with python :/ Here is my script : import ctypes
dllFunc = ctypes.cdll.LoadLibrary('ImageSearchDLL.dll')
dllFunc.ImageSearch.argtypes = (ctypes.c_int, ctypes.c_int, ctypes.c_int, ctypes.c_int, ctypes.c_char_p,)
dllFunc.ImageSearch.restype = ctypes.c_char_p
_result = dllFunc.ImageSearch(0, 0, 1920, 1080, b"myPic.bmp")
result = _result.value
print(result)The python debugger show me : "ValueError: Procedure called with not enough arguments (20 bytes missing) or wrong calling convention". Any help will be appreciated. Thank you.