[fpc-pascal] Resources or alike

Thomas Schatzl tom_at_work at gmx.at
Sat Mar 19 15:27:49 CET 2005


Hello,

Michał Woźniak schrieb:
> Is it possible in FPC to incorporate something like Delphi resources into the 
> compiled program?
> What I need is including a binary file within the executable (like when using 
> BRCC32 and *.rc files in Delphi) so that its contents are accessible to the 
> program at runtime, without the need to distribute those files separately.
> 

Under Windows you can use resource files in FPC as well, just the tool 
to convert the .rc into a linkable binary file is called differently... 
See also the documentation, in particular the chapter "Using Windows 
resources" in prog.pdf, pg. 111ff

Regards,
   Thomas





More information about the fpc-pascal mailing list