How to make a keyboard hook global across processes

后端 未结 5 734
-上瘾入骨i
-上瘾入骨i 2020-11-30 08:37

I am trying to create a utility keystroke app so i can do things like kill a preprogrammed process or launch something. I am thinking I should hold cmd in any app, then type

5条回答
  •  离开以前
    2020-11-30 09:05

    Avoid codeproject samples. ( plenty of bugs, bad copies of MSDN )

    See the tons of complete samples on MSDN on hooks (MSDN, SDK, KB, etc)

    And you don't need any DLL, just use LL hooks

提交回复
热议问题