by arisme » Mon Feb 01, 2010 1:37 am
My wish list includes a couple of techniques that will probably have minority interest or application. However, someone in the audience may have enough enthusiasm and experience to cover them.
1. Subclassing an application in another process thread
It is easy enough to subclass applications in the current process thread, but the technique will not work with foreign processes. There is a way around this, I believe, by attaching threads.
2. Using the keyboard buffer
In the simple days of DOS, it was possible for an application to stuff key codes into the keyboard buffer. These would be processed by the OS as if they had been typed on the keyboard by a user. So, it was possible for one application to control another application completely by feeding the correct sequence of key codes into the keyboard buffer. Great for automating chore tasks.
I have seen references that indicate that the equivalent of the DOS keyboard buffer exists in Windows, and that it is possible to read and write to it. There were insufficient usable details to enable exploration.
Aris