[Lazarus] RE : [fpc-pascal] Poor man's resource code available and CheckRide update: now with editor
Ludo Brands
ludo.brands at free.fr
Tue Jan 31 10:11:47 CET 2012
>
> What's the advantage compared to lrs files?
>
> Mattias
>
A while ago I also looked into the different resource formats to include
binary data (a custom installer). At that time I rejected lrs because binary
data where stored as ascii, escaping non ascii chars as #iii. The result was
a a huge file. I settled for the windows .res format which is supported by
fpc cross platform and stores binary data as binary data. A minor
disadvantage is the custom build script using windres to compile the
resources on non windows systems. Windres can be difficult to find on some
systems (typically found in mingw cross buildutils) or has to be made from
source.
Ludo
More information about the Lazarus
mailing list