Are you asking for something like dlopen and dlsym or something more extensive? This seems like the basic opening and use of shared objects. http://www.opengroup.org/onlinepubs/009695399/functions/dlsym.html http://developer.apple.com/documentation/Darwin/Reference/Manpages/man3/dlsym.3.html corey On Fri, Feb 22, 2008 at 11:57 PM, ANOOP <anoop.chargotra@xxxxxxxxx> wrote: > Hi All, > I want to implement a scenario, in which user enters a string > (function name), and my program executes it. This function is defined > in a 'shared library'. So basically, user can enter any string, and my > program needs to look up it in the shared library, if it finds execute > it. > Can this be achieved anyhow, and more over without re-compiling by > program, when shared library is updated with new function definitions. > > Thanks, > Anoop >