On Mon, 30 Jan 2012 15:10:55 +0100 Reinier Olislagers <[email protected]> wrote:
> On 30-1-2012 9:42, Mattias Gaertner wrote: > > On Mon, 30 Jan 2012 09:09:42 +0100 > > Reinier Olislagers <[email protected]> wrote: > >> Thanks to UPayload (http://www.delphidabbler.com/articles?article=7) and > >> some help on the forum, I could implement an alternative way of storing > >> files in an executable file (basically it just appends them with a footer). > >> See source: poormansresource.pas in > >> https://bitbucket.org/reiniero/checkride/src/, and the > >> CheckRideResourceZipper project for sample code > >> > >> This method allows me to edit such a "resource" using an FPC/Lazarus > >> program. > >> As - I think - DoDi predicted, I had a lot of trouble trying to work > >> with regular Windows resources, but whether that is due to bugs in FPC, > >> Windows or me, I don't know ;) > > > > What's the advantage compared to lrs files? > > > > Mattias > > Hi Mattias, > > I hadn't even thought about lrs honestly. Would I be able to easily edit > an lrs resource once it's added to an exe as well? When the lrs is changed you have to recompile. I never thought of editing exe files. Antivirussoftware does not like that. Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
