Re: [fpc-pascal] Resources or alike

2005-03-20 Thread Michał Woźniak
> > 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. > > > > Uhmm... I

Re: [fpc-pascal] Resources or alike

2005-03-20 Thread Marco van de Voort
[ Charset UTF-8 unsupported, converting... ] > 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 u

Re: [fpc-pascal] Resources or alike

2005-03-20 Thread bobmartin
How did you define ExeFile ? Micha? Wo?niak <[EMAIL PROTECTED]> wrote the following on 20/03/05 11:37:32: > 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.ex

Re: [fpc-pascal] Resources or alike

2005-03-20 Thread Michał Woźniak
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. Uhmm... I get a Runtime error 026 everytime

Re: [fpc-pascal] Resources or alike

2005-03-19 Thread Michał Woźniak
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 lo

Re: [fpc-pascal] Resources or alike

2005-03-19 Thread Nico Aragón
El SÃbado, 19 de Marzo de 2005 15:34, MichaÅ WoÅniak escribiÃ: > 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

Re: [fpc-pascal] Resources or alike

2005-03-19 Thread Michał Woźniak
> > Is it possible in FPC to incorporate something like Delphi resources into > > the compiled program? > > 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... Well, actually I would need such a functional

Re: [fpc-pascal] Resources or alike

2005-03-19 Thread Thomas Schatzl
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 runt

[fpc-pascal] Resources or alike

2005-03-19 Thread Michał Woźniak
Hi there. 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 nee