pyhook_py3k icon indicating copy to clipboard operation
pyhook_py3k copied to clipboard

Fix R6031 error with python3.4

Open xiangxw opened this issue 8 years ago • 1 comments

In WinUser.h:

#if (_WIN32_WINNT >= 0x0400)
#define WH_KEYBOARD_LL     13
#define WH_MOUSE_LL        14
#endif // (_WIN32_WINNT >= 0x0400)

#if(WINVER >= 0x0400)
#if (_WIN32_WINNT >= 0x0400)
#define WH_MAX             14
#else
#define WH_MAX             12
#endif // (_WIN32_WINNT >= 0x0400)
#else
#define WH_MAX             11
#endif

So size of callback_funcs and hHooks should be bigger than WH_MAX

xiangxw avatar Mar 01 '17 03:03 xiangxw

I download the whole folder and I do not understand how to install with cmd. I do not have too much experience with it. Could you please explain how to do it?

sergiomoreno85 avatar Dec 13 '19 17:12 sergiomoreno85