I have implemented WH_Keyboard hook it works fine am able to block certain keys from passing to other apps but however when i use certain apps like visual studio and notepad++ the hook stops working suddenly. But all other apps dont respond to keystrokes except for this code editors. Can anyone tell me how i can make sure that no other app can interfere or dispose my hook? . Before you suggest using WH_KEYBOARD_LL i dont want to use it since it doesnt work well together with rawinput.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…