Re: Using Visual Basic to Write System-Wide Hooks
- From: "Jonathan Wood" <jwood@xxxxxxxxxxxxxxxx>
- Date: Fri, 3 Jun 2005 19:15:50 -0600
Jim,
> I keep thinking back to DOS days, where you'd set up something
> in "high memory", revector from the old Interrupt address to a new
> address, and then inside the new address, do what needs and then
> jump to the old Interrupt address and allow that old Interrupt to
> return back to the command prompt (or whatever program you
> were configuring). It's been such a long time since I messed with
> that kind of stuff, I don't remember how I found where the Interrupt
> was located in memory. Maybe it was a specific Interrupt that
> returned the address of an Interrupt vector table.
BTW, if you want to get more info on this, you can download showvect.zip
from http://www.softcircuits.com/sw_dos.htm. This is a compact DOS program
that displays the address of each interrupt. Complete assembler source code
is included.
The code, while it could use DOS interrupts to obtain interrupt addresses,
reads the addresses directly from low memory (starting at 0000:0000).
--
Jonathan Wood
SoftCircuits
http://www.softcircuits.com
Available for consulting: http://www.softcircuits.com/jwood/resume.htm
.
- Follow-Ups:
- Re: Using Visual Basic to Write System-Wide Hooks
- From: Jim Carlock
- Re: Using Visual Basic to Write System-Wide Hooks
- References:
- Using Visual Basic to Write System-Wide Hooks
- From: Jonathan Wood
- Re: Using Visual Basic to Write System-Wide Hooks
- From: Sam Hobbs
- Re: Using Visual Basic to Write System-Wide Hooks
- From: Jonathan Wood
- Re: Using Visual Basic to Write System-Wide Hooks
- From: Mark Yudkin
- Re: Using Visual Basic to Write System-Wide Hooks
- From: Jonathan Wood
- Re: Using Visual Basic to Write System-Wide Hooks
- From: Sam Hobbs
- Re: Using Visual Basic to Write System-Wide Hooks
- From: Jonathan Wood
- Re: Using Visual Basic to Write System-Wide Hooks
- From: Sam Hobbs
- Re: Using Visual Basic to Write System-Wide Hooks
- From: Jonathan Wood
- Re: Using Visual Basic to Write System-Wide Hooks
- From: Jim Carlock
- Using Visual Basic to Write System-Wide Hooks
- Prev by Date: Re: Using Visual Basic to Write System-Wide Hooks
- Next by Date: Re: Can't copy/rename file using CreateProcessWithLogonW, ImpersonateLoggedOnUser and LogonUser
- Previous by thread: Re: Using Visual Basic to Write System-Wide Hooks
- Next by thread: Re: Using Visual Basic to Write System-Wide Hooks
- Index(es):
Relevant Pages
|