Board index » delphi » Source Code for a Key Capture Program
Kyle A Oppenheim
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Source Code for a Key Capture ProgramQuoteteamw...@spectra.net (Steven Wozniak) writes: you need to latch the keyboard interrupt and then use the keep; procedure to go resident. Of course, you need to be careful about things like rentrant calls. Here's some code to get you started (I'm typing this in.. so watch for {$M xxx,xxx,xxx} (* Make sure to limit the memory you use! *) const var Procedure STI; Procedure CLI; Procedure CallOldInt(Sub:Pointer); Procedure KeyBoard(Flags,CS,IP,AX,BX,CX,DX, BEGIN (* Main *) Hope that helps.. --- Kyle Oppenheim kyl...@andrew.cmu.edu |