Re: [fpc-pascal] Create appending data to existing exe file?

2008-12-14 Thread Jonas Maebe
On 14 Dec 2008, at 02:54, Lee Jenkins wrote: Tomas Hajny wrote: On 13 Dec 08, at 10:40, Lee Jenkins wrote: Is it possible to append data to an existing executable file and have that file run correctly? I'm adding scripting features to one of our products and I wanted it so that our softwa

Re: [fpc-pascal] TProcess question

2008-12-14 Thread Bart
> > If you try to execute a process that is non-executable (like for > > example a word doc), then on Windows an exception is raised and > > GetLastOSError returns 193. > > > > If you try this on (my) linux, no exception is raised and a > > non-functional childprocess is forked (you can see i

Re: [fpc-pascal] Create appending data to existing exe file?

2008-12-14 Thread Lee Jenkins
Tomas Hajny wrote: On 13 Dec 08, at 10:40, Lee Jenkins wrote: Is it possible to append data to an existing executable file and have that file run correctly? I'm adding scripting features to one of our products and I wanted it so that our software can create a standalone executable for the end

Re: [fpc-pascal] Create appending data to existing exe file?

2008-12-14 Thread Tomas Hajny
On 13 Dec 08, at 10:40, Lee Jenkins wrote: Hi Lee, > Is it possible to append data to an existing executable file and have that > file > run correctly? I'm adding scripting features to one of our products and I > wanted it so that our software can create a standalone executable for the end