[fpc-pascal] Placing binary data (resources) in object files?

Graeme Geldenhuys graeme at geldenhuys.co.uk
Mon Jun 3 20:54:37 CEST 2013

On 2013-06-03 17:32, Ewald wrote:
>> Well, you can obviously use tool bin2obj created with/for FPC and
>> > distributed with FPC releases - see fpcsrc/utils/bin2obj.pp.
> Seriously? I should really start looking at included tools... I've got
> this feeling that it will save me some time.

That's how fpGUI includes all image and sound binaries into executables
for years. I do the same for my commercial apps. fpGUI includes a GUI
tool where you can simply drag-n-drop a file(s) onto the app, and it
converts that into binary array's or exports it to a file that can
easily be added to any project.

  - Graeme -

More information about the fpc-pascal mailing list