Yeah, piece of cake :)

I did think about suggesting it... If you dlopen with a NULL argument,
you should get a handle that'll let you dlsym symbols from the program
itself it instead of shoving them off into a shared library.  I
haven't played around with it in a while though.  And he was already
having trouble getting a table to work...

--Palrich.

On Thu, 31 Mar 2005 16:52:42 -0800 (PST), Chad Simmons <[EMAIL PROTECTED]> 
wrote:
> --- Michael Barton <[EMAIL PROTECTED]> wrote:
> > Well!  Yeah you can't load the gsn pointers from a file.
> 
> Sure you can. Just store the function names in a tab separated (or comma) list
> with the shared object file (.so) that contains that function. Then read the
> contents of the list file, dlopen the shared object file the function is in,
> and use dlsym to get the function by it's name.
> 
> Peice of cake. ;p
> 
> ~Kender

Reply via email to