[fpc-pascal] Re: Editing resource of executable

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Aug 30 16:27:00 CEST 2012

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.


More information about the fpc-pascal mailing list