Hello,
in the following sample code I try to call a non-existing function via TInterpreter::Execute. I expect to obtain a non-zero error code, however… I tried the same directly with Cint API and I got, again, error = 0. Might you know where the mistake is?
root [0] TGraph *g = new TGraph()
root [1] int error = 0
root [2] gInterpreter->Execute(g, g->IsA(), "ThisMethodDoesNotExist", "", error)
root [3] error
(int)0
Many thanks, Kašpi.