Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Low Level Hooks

Posted on 2003-11-23
1
Medium Priority
?
1,261 Views
Last Modified: 2008-03-17
Hi,

I am about to set low level hooks (mouse & keyboard). I saw that I should set a DWORD value in the registry limiting the processing time of each low level hook procedure in order to avoid infinite loops.
The registry value is "LowLevelHooksTimeout" and is found under HKEY_CURRENT_USER\Control Panel\Desktop. I need help in deciding what value should I set (milliseconds).

Thank you in advance.
0
Comment
Question by:yelani
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 48

Accepted Solution

by:
AlexFM earned 450 total points
ID: 9809490
Set 50 or 100, for example. This value will be applied only if you do some really stange things inside of keyboard hook, for example, try to make internet connection, or hook function enters infinite loop. Normal hook function returns in a few milliseconds, and this Registry value should not be used.
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A short article about problems I had with the new location API and permissions in Marshmallow
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Simple Linear Regression
Six Sigma Control Plans

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question