On Mon, Feb 2, 2009 at 9:48 PM, Praveen S <[email protected]> wrote:

> Hi,The problem is i have to code the shared library and every exe will use
> the functionality provided by this shared library. I need to load the config
> file for all the exes which use the shared library functionality and it can
> be different for different exes.

And how is this different from the many Linux applications that are
built with GTK+ or Qt -- they all use shared libraries in this same
manner (and in fact, the shared libraries have their own configs
separate from the applications). I think your best bet is to have the
configs in a standard place (like /etc) and not rely on the location
of the executable file. Users will expect it, in fact.

-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
    If I were to divulge it, it would overturn the world."
               -- Jelaleddin Rumi

Reply via email to