Subject: Re: fd to executable
To: Hubert Feyrer <hubert@feyrer.de>
From: Martin Husemann <martin@duskware.de>
List: tech-misc
Date: 01/03/2001 13:12:03
> char data[256];
> ...
> access data
Yah, that's the easy way (and mostly done this way).
But there are more things you can do with "resources":
These things are: (1) let the user choose between i.e. several languages by
setting an environment variable (that's easy to do with the dlsym variant,
but you could do a table lookup in code too). (2) Let someone else easily
edit these resources (without needing to recompile/link the application).
That's not easy to do if there is no standard storage format and appropriate
tools for this resources. The unix way to do this is to store them
in separate files, which can be changed with any text or bitmap editor.
Martin