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! :)

Cheers
Mike


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to