[Lazarus] [fpc-pascal] Poor man's resource code available and CheckRide update: now with editor
Reinier Olislagers
reinierolislagers at gmail.com
Mon Jan 30 15:10:55 CET 2012
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?
Thanks,
Reinier
More information about the Lazarus
mailing list