문제

I have an application that captures keystrokes. But i have read a little bit about win7 problems that if the hook dont respond in a couple of seconds, the hook is terminated. And because of that some think Raw input is better. But i really dont know the difference about these 2.

What are the difference between them? Can u capture shift/alt/ctrl presses in raw input?

Thank you!

도움이 되었습니까?

해결책

I had the same problem in the past with global keyboard hooks which were getting unregistered. Adjusting the following value in the registry solved the problem:

[HKEY_CURRENT_USER\Control Panel\Desktop]
"LowLevelHooksTimeout"=dword:00002710
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top