I'm a green hand in python and now facing a problem when importing dll in python. By refering some hints found online, i tried using ctypes as below with error prompt.
>>> import ctypes >>> dl=ctypes.WinDll('C:\\Python27\\Lib\\site-packages\\UdfManagerPython.dll') Traceback (most recent call last): File "<pyshell#2>", line 1, in <module> dl=ctypes.WinDll('C:\\Python27\\Lib\\site-packages\\UdfManagerPython.dll') AttributeError: 'module' object has no attribute 'WinDll' >>> dl=ctypes.cdll.LoadLibrary('C:\\Python27\\Lib\\site-packages\\UdfManagerPython.dll') Traceback (most recent call last): File "<pyshell#3>", line 1, in <module> dl=ctypes.cdll.LoadLibrary('C:\\Python27\\Lib\\site-packages\\UdfManagerPython.dll') File "C:\Python27\lib\ctypes\__init__.py", line 431, in LoadLibrary return self._dlltype(name) File "C:\Python27\lib\ctypes\__init__.py", line 353, in __init__ self._handle = _dlopen(self._name, mode) WindowsError: [Error 126] Am I doing something wrong or this dll was not scripted complied with python standard? I have uploaded to MediaFire for your analysis. Any help is highly appreciated!