Skip to content

Fix R6031 error with python3.4#3

Open
xiangxw wants to merge 1 commit into
Answeror:masterfrom
xiangxw:xiangxw-patch-fix-r6031
Open

Fix R6031 error with python3.4#3
xiangxw wants to merge 1 commit into
Answeror:masterfrom
xiangxw:xiangxw-patch-fix-r6031

Conversation

@xiangxw

@xiangxw xiangxw commented Mar 1, 2017

Copy link
Copy Markdown

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

@sergiomoreno85

Copy link
Copy Markdown

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants