Description: Steal bytes from a PE and execute from somewhere else, then JMP back to the OEP.
Notes: This is a very basic example, to go further with this I would suggest using a disasm engine.
HelloVB6.exe and patched.exe call a messagebox to display 'Hello World'.
Only Delphi source code is included in the archive.
Delphi Basics - Free Delphi Source Code - Ultimate Programming Resource > Delphi Basics Snippets >