Notice Of Closure

Please note that this website is due to close down on 15th June 2020.

In the interim I will try to move as much content as possible over to my GitHub account. Thanks to everyone who has supported the site over the years.

How to dynamically add data to an executable file (part 5 of 5)

Demo code and feedback

Demo code

The demo does not currently contain the source code for, or an example of using, TPayloadStream.

You can download some demo code that includes source for two Delphi applications and a unit that implements the TPayload class. One application knows how to read and display payload data while the other can attach user defined data to the reader application.

The demo is provided as a zip file. Once downloaded the file should be unzipped to a new folder. Details of the files included in the zip file and instructions on how to compile and use the demo projects are provided in the ReadMe file that is included in the download.


I hope you enjoyed this article and found it useful. If you have any observations, comments or have found any errors please contact me.