Re: Using Visual Basic to Write System-Wide Hooks
- From: "Jim Carlock" <anonymous@localhost>
- Date: Fri, 3 Jun 2005 19:15:32 -0400
How would you find the address to the system keyboard routines?
I'm thinking along the lines:
1) I'd need to know the name of the keyboard interception routine,
2) and I'd need to know how to acquire it's address.
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.
Does anyone know where to find a reference to the switches
for the VB linker,
C:\Program Files\Microsoft Visual Studio\VB98\LINK.EXE
I'm seeing that when creating a DLL VB supplies the following
switch:
/ENTRY:__vbaS
There's a really nice article at the following link explaining how to
intercept the calls to the VB compiler, C2.EXE, and linker,
LINK.EXE.
I posted in another thread, but I'm going to repost it again here:
http://www.windowsdevcenter.com/pub/a/windows/2005/04/26/create_dll.html
--
Jim Carlock
Please post replies to newsgroup.
.
- Follow-Ups:
- Re: Using Visual Basic to Write System-Wide Hooks
- From: Sam Hobbs
- Re: Using Visual Basic to Write System-Wide Hooks
- From: Tom Esh
- Re: Using Visual Basic to Write System-Wide Hooks
- From: Jonathan Wood
- Re: Using Visual Basic to Write System-Wide Hooks
- From: Jonathan Wood
- 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
- Using Visual Basic to Write System-Wide Hooks
- Prev by Date: Re: System-wide hooking, VB+ASM
- Next by Date: Re: System-wide hooking, VB+ASM
- 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
|