I want to use DLL(C++) API with python. The DLL file is MMMReaderHighLevelAPI.dll from 3M SDK.
First, I want to make sure if I can connect to the 3M Page Reader by getting the status of it. But, It does not work.
Here is my code that I have tried.
import ctypes
lib = ctypes.WinDLL(r"C:\Program Files\3M\3M Page Reader x64\3.3.3.10\Bin\MMMReaderHighLevelAPI.dll")
lib.MMMReader_GetState.argtypes = None
lib.MMMReader_GetState.restype = ctypes.c_char_p
call = lib.MMMReader_GetState()
print(call)
And I got None from the printing.
What should I try next?
This is the function that I want to use.
3M Page Reader Programmers' Guide
Thank you very much for helping!