I have been trying to learn ctypes so as I can call C++ DLLs in python and have no problem on Loading DLLs. My question are: What are procedures of calling functions in DLLs especially since Py and C++ have different data types? I see argtypes and restypes: What are they?
Can someone provide very simple theoretical example from Loading DLL until releasing it? Here is my code for Loading the DLL :
import ctypes as ct
#load DLL
dll = ct.cdll.test_dll
print dll
result: <CDLL 'test_dll', handle 6eb40000 at 2914f30>