[Lazarus] Poor man's resource code available and CheckRide update: now with editor

Reinier Olislagers reinierolislagers at gmail.com
Mon Jan 30 09:09:42 CET 2012


Hi all,

(Cross posted to Lazarus+FPC lists)

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 ;)

I updated my CheckRide remote control package with this functionality: a
helper can edit CheckRide.exe with his hostname and port number and
distribute that single exe to his clients/helped persons.
This allows 1 click operation at the helped side.

I also tested operation with a Linux helper running stunnel+vncviewer
and a WIndows helped party running CheckRide.exe

See the site mentioned above.

Comments, patches, as well as criticism welcome ;)

Thanks,
Reinier




More information about the Lazarus mailing list