[fpc-pascal] Re: Editing resource of executable

Reinier Olislagers reinierolislagers at gmail.com
Thu Aug 30 16:47:12 CEST 2012

On 30-8-2012 16:27, Jonas Maebe wrote:
> Krzysztof wrote on Thu, 30 Aug 2012:
>> Hmm sounds good. So I can normally open another exec in for example
>> TFileStream and write something at the end and this exec run without
>> error?
> Yes. Do keep in mind that the original exe has to be able to find the
> length of the data you appended to it. So it's easiest if you add a 4
> byte length or so after the appended data, which the original exe then
> can read to find the start of that data.

... or just use my readymade code that does exactly that instead of
writing your own ;) It's released under a very liberal MIT license (so
compatible with closed-source development, (L)GPL etc)

More information about the fpc-pascal mailing list