[Lazarus] [fpc-pascal] Poor man's resource code available and CheckRide update: now with editor
Mattias Gaertner
nc-gaertnma at netcologne.de
Tue Jan 31 00:53:45 CET 2012
On Mon, 30 Jan 2012 15:10:55 +0100
Reinier Olislagers <reinierolislagers at gmail.com> wrote:
> On 30-1-2012 9:42, Mattias Gaertner wrote:
> > On Mon, 30 Jan 2012 09:09:42 +0100
> > Reinier Olislagers <reinierolislagers at gmail.com> 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
More information about the Lazarus
mailing list