dc740 / AutoHotPy

AutoHotKey replacement using Incerception driver
GNU Lesser General Public License v3.0
59 stars 23 forks source link

Fix ArgumentOverflow error on 64-bit #4

Closed FedyuninV closed 5 years ago

FedyuninV commented 5 years ago

Without explicit definition of argtypes ctypes seems to be using something 32-bit. That's why it fails with Argument overflow while trying to pass a pointer to InterceptionContext.

Should fix issue #3

Tested on Win10 64-bit Python 3.7 (with minor fixes like Queue -> queue).

dc740 commented 5 years ago

I'm going to merge this ASAP. I'm asking another user to check if it also fixes the other bug just to confirm it works, but I don't really have any objections to the new code, so it's going to be merged very soon anyway. Thanks for your contribution!