1. Re: Resources and Euphoria

At 11:26 AM 6/3/98 -0700, David Cuny wrote:
>that as well. You would need a constant in your main program, something =
>like:
>
>   DATAFILE_OFFSET =3D 000000
>
>If this constant was non-zero, the program would know that the INI was =
>bound to the EXE. To bind the INI to the EXE, the packing program would:
>
>   1. Build the DAT file.
>   2. Bind the EX file, and get the size.
>   3. Change the constant to the size of the EXE.
>   4. Bind the EX file again.
>   5. Attach the INI file to the EXE
>   6. Change the constant in the main program back to '000000'
>
>I think this is a *much* better scheme.
>
>Comments?

I don't understand why you have to bind it twice.
Surely you can just append the index info to the file
in reverse order and just start reading backwards from
the end ?

Graeme.
----------------------------------------------------

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu