Re: Using Visual Basic to Write System-Wide Hooks

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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.


.



Relevant Pages

  • Re: Using Visual Basic to Write System-Wide Hooks
    ... The "system keyboard routines" are ... revector from the old Interrupt address to a new ... > was located in memory. ... thing but the /ENTRY switch lets you rename it. ...
    (microsoft.public.vb.winapi)
  • Re: C question 2
    ... expecting to find the start of your program. ... When an interrupt occurs, again the computer jumps to a special location ... this information is passed from the compiler or read from a linker ...
    (comp.arch.embedded)
  • Re: Using Visual Basic to Write System-Wide Hooks
    ... > How would you find the address to the system keyboard routines? ... applications, also known as processes. ... I don't remember how I found where the Interrupt ... interrupt locations standardized by the original IBM PC. ...
    (microsoft.public.vb.winapi)
  • Re: Using Visual Basic to Write System-Wide Hooks
    ... >How would you find the address to the system keyboard routines? ... revector from the old Interrupt address to a new ... specialized driver to push it up to application level. ... You can get the basics by running it from a command window with the ...
    (microsoft.public.vb.winapi)
  • Re: Usin VB in Sql Server
    ... VB6 uses the Visual Studio 6 compiler and linker. ... need to interrupt the process and change the link commands. ...
    (microsoft.public.access.modulesdaovba)