Skip to content

Conversation

@xiangxw
Copy link

@xiangxw xiangxw commented Mar 1, 2017

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

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