Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

From keyboard interrupt to keydown event....

Status
Not open for further replies.

zakman

Programmer
Aug 15, 2001
49
0
0
US
Hello all,

We are curious about how soon or how late the keydown
event fires from the time that the keyboard interrupt
is generated when a user presses a key.

We need a way to grab the character as soon as the
interrupt is generated in order to capture the ascii
value before any other keyboard sniffing programs can
snatch it. Ideally we need to capture the value and
change it to another value.

I don't think this is possible from an internet browser
standpoint (within vbscript, javascript, etc). This is
more of a interrupt handling issue that is probably
better handled by an executable. Even at an executable
standpoint, I must insure that my handler is first in
the queue to snatch the event.

Any ideas, suggestions, comments, etc.


--Kevin
 
From the browser it's not posible but you can make an executable that can ashure you are the first who receive the call.
There is a hook waiting list and when you register a new hook for your system keyboard events you will be placed last in that list.
Or you just can make and device that will receive the first messages from the kwyboard.

________
George, M
 
Actually, after doing some research... if we can determine
if any system-wide keyboard hooks are in place, and effectively
remove those hooks, our job will be done. We don't necessarily
want to create an exe to send to the client's machine to grab
all key input. In fact, that would be beyond the scope of our
problem.

Any ideas on how to see what other hooks are in place in the
system message queue or elsewhere?


--Kevin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top