[fpc-pascal] Resources or alike

Michał Woźniak mikiwoz at yahoo.co.uk
Sun Mar 20 00:09:01 CET 2005

Dnia sobota, 19 marca 2005 23:31, Nico Aragón napisał:
> IIRC, you don't even need resources:
>   copy /b program.exe + file.dat combined.exe
> Then you can open combined.exe from itself, seek to (filelength -
> sizeofdatafile -1) and use blockread.

Thanks, Nico!

That's exactly, what I was looking for, as I want my program to make a copy of 
itself, containing the additional data. Thanks a lot! :)


More information about the fpc-pascal mailing list