eyeonus / Trade-Dangerous

Mozilla Public License 2.0
97 stars 31 forks source link

Fix MFD int too long to convert #88

Closed ChuChuCharlie closed 3 years ago

ChuChuCharlie commented 3 years ago

Updates to device_handle to define the type as HANDLE, seems to resolve issue with "ctypes.ArgumentError: argument 1: <class 'OverflowError'>: int too long to convert", at least on my x52pro. Also change dll install location as it's now Logitech, maybe a check can be put in to pull install location from registry?

I know nothing about programming but I've been able to fudge this, hope it helps.