?
Solved

Low Level Hooks

Posted on 2003-11-23
1
Medium Priority
?
1,255 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Starting up a Project
Suggested Courses

752 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