I am trying to call a function from a custom .dll file. But when I try to load my library SDK.dll, i get the following error. I am following the indications found here: Python import dll
Does anyone know what the problem is? I only found references of this problem for MAC enviroments.
>>> from ctypes import *
>>> lib = ctypes.WinDLL('C:/Develop/test/SDK.dll')
Traceback (most recent call last):
File "<pyshell#19>", line 1, in <module>
lib = ctypes.WinDLL('C:/Develop/test/SDK.dll')
NameError: name 'ctypes' is not defined