Re: Calling functions defined in macros from shared libs

From: Pasha Murat (630)840-8237 FNAL (630)859-3463 home (murat@murat.fnal.gov)
Date: Thu Nov 25 1999 - 12:27:35 MET


Carlos Lacasta wrote:
> I would like to know how to pass a pointer of a function defined in a
> macro and loaded with gROOT->LoadMacro to a function in a loaded shared
> library and call it from there.
> 

Hi Carlos: you can have in the code you compile into shared library
statements like this:

gInterpreter->ProcessLine("your_function()")

Then "your_function" can be loaded in in the interpreted mode.

					best, Pasha



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:43 MET