Solved

Low Level Hooks

Posted on 2003-11-23
1
1,242 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 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

This is an explanation of a simple data model to help parse a JSON feed
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

730 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