posted 17 Mar 2010, 21:12 by Delphi Basics
PE-inject is a special library which allows developers to place their own code into Windows executable files (EXE, DLL, OCX and others). PE-inject was designed to be as simple as possible, to make modification of executables (so called PE-files) as easy as writing a “Hello world!” program. The knowledge of Assembler and Windows PE-EXE file format, which was essential before PE-inject came, is no longer required.

PE-inject Frontend Tool
To inject your code into an existing executable you only need to make a DLL file with functions you want to inject into PE file, use PE-inject to place the DLL into the executable and the file is injected. From now on, every time you run the executable, the injected code will be run first and after it finishes, the old application code will start.

Both Delphi source code and binaries are included in the archive.
Delphi Basics,
17 Mar 2010, 21:14