Solved

Low Level Hooks

Posted on 2003-11-23
1
1,214 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
1 Comment
 
LVL 48

Accepted Solution

by:
AlexFM earned 150 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
find a node in VST 2 63
wordmultiple challenge 12 118
cmd.exe will not close when running .bat file to perform FTP upload 18 94
program a usb light to turn on when needed 6 48
RIA (Rich Internet Application) tools are interactive internet applications which have many of the characteristics of desktop applications. The RIA tools typically deliver output either by the way of a site-specific browser or via browser plug-in. T…
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
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…

910 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now