Well, like I said in the above post, I wrote this one in VB6, although when I
get around to the next version (sorry for the delay by the way - not enough
hours in the day and all that!) it will probably be in C++, or ASM if I can work
up the nerve.

My policy on source code? Depends on the project (I can't release anything that
was done on work time, and some of my pet projects I'd rather not release at
all.). For this I'd say "available for educational purposes". I'll PM you with
details on how to get it. It you have any interesting code you'd like to share
in exchange, please do :)

Hooking an external application isn't as hard as it seems, really. The first
step is getting into the process, which is made easy here because it's loaded
through a script which is already in the pspad process. Then it's down to
subclassing and message watching - hours of going through message logs seeing
which message is sent when and in what order (Delphi controls can be slightly
different to the windows standard), and trying to hook various little bits. This
is the really frustrating bit - expect lots of crashes!

-- 
<http://forum.pspad.com/read.php?2,40752,42769>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem