Closed NZSmartie closed 5 years ago
To add context to the PR. After loading hidapi.dll library in Windows. Python raised an exception ValueError: Procedure probably called with too many arguments (8 bytes in excess)
The top result in Google solved the issue https://stackoverflow.com/questions/5267434/python-ctypes-argument-errors
See #13
hidapi.dll (Windows library) does not use the stdcall calling convention. Using ctypes'
windll
instead ofcdll
to load the library will later raise exceptions when calling functions.So, it's safe to move the hidapi.dll library into the
library_paths