Re: RE:[ROOT] Shared library loading under linu

From: Valeri Fine (Faine) (fine@bnl.gov)
Date: Tue Mar 28 2000 - 17:14:15 MEST


> Hello Matevz,
> 
> If you want to get a handle to procedure, you can simply use G__findsym() API.
> This hasn't been documented, so very few people knew it.
> 
>  void* G__findsym(const char* symname);
> 

Could  the medthod:

//______________________________________________________________________________
Func_t TSystem::DynFindSymbol(const char *, const char *)
{
   AbstractMethod("DynFindSymbol");
   return 0;
}

be:

//______________________________________________________________________________
Func_t TSystem::DynFindSymbol(const char *, const char *symname)
{
   return G__findsym(const char* symname);
}

Valery



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:22 MET