redirecting interrupt vectors or placing a hook in XP?

Started by raver, April 26, 2005, 09:32:33 PM

Previous topic - Next topic

raver

Hi,

does someone know a way to change the address wich an interrupt vector points to, so that it redirects to your own ISR placed on the new address?
it seems to me that windows xp doesn't allow this...?

I'm on a project where i need to listen to keyboard events and incoming serial data. Making a polling loop for the keyboard and the serial port would slow down my cpu and it's not a efficient solution. So i want to make use of the interrupts, generated by the keyboard and the COM port.

anyone a solution?

Tedd

You're right, it doesn't allow you access to the interrupt vectors :P
But search around for 'keyboard hooking' which will achieve what you want.
No snowflake in an avalanche feels responsible.