Error loading DLL in python, not a valid win32 application

I am trying to load a DLL in python to call functions. import ctypes from ctypes import * dsusb = ctypes.WinDLL('c:python27dsusb.dll') I get the following error in my stack. C:Python27>python test.py Traceback (most recent call last): File "test.py", line 4, in <module> dsusb = ctypes.WinDLL('c:python27dsusb.dll') File "C:Python27libctypes__init__.py", line 365, in __init__ self._handle = _dlopen(self._name, mode) … Read more