Re: Modifying the Original EXE File

new topic     » goto parent     » topic index » view thread      » older message » newer message

ck wrote:

> If I wanted to store some variable information
> IN THE EXE file (for instance, at the end of the
> exe I would put encoded info like user's name, etc.),
> would this be possible? If so, how so?

Some time ago I posted a toolkit called RES. Among other things, you can:

   - Bind a large number of files into a single resource file
   - Bind a resource file to an executable

Each file in the resource file can be read and written to just as if they
were normal files. The only caveat is that you cannot make a bound resource
file *larger*. This allows delivering applications that consist of many
files as either a single executable, or as an executable and a resource
file.

The method that it uses is the same as that described by Daniel in his post,
but it takes care of all the details (calculating file size, etc) for you. I
think it's fairly simple to use. It's probably been moved to the archives by
now.

-- David Cuny

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu