WH_KEYBOARD_LL hook not called

后端 未结 3 889
心在旅途
心在旅途 2021-01-23 12:35

I\'m having some problems with a WH_KEYBOARD_LL hook :

The reason why I\'m using a global LL hook is not important I just need it for my app (I tried other

3条回答
  •  闹比i
    闹比i (楼主)
    2021-01-23 13:25

    You could check the foreground window in your hook function instead, and get rid of the timer thread altogether. That's what I do in TouchCursor. You can look at my code on SourceForge -- Line 553 for the hook function.

提交回复
热议问题