Hi Rooters, I have a class which contains member functions with a single argument of type "string" (not "TString", not "char*"). If I compile the class, make a shared library, and link it with an application, everything works fine, I can use these member functions. However, when I load the same shared library in a ROOT macro, and try to use the member functions, I get the following error: Error: Can't call ADShotConvert::SetRawFilePath("some string") in current scope FILE:pbartest.C LINE:50 Possible candidates are... filename line:size busy function type and name (in ADShotConvert) (compiled) 0:0 0 public: void SetRawFilePath(string); *** Interpreter error recovered *** Any idea what can cause this? Other member functions work. I'm using v 3.00/06 from AFS under RedHat 6.1 for Intel x86. --------------------------------------------- And now something completely different: In another class of mine, I have a member of type TH1F*, and a member function which returns this pointer (i.e. TH1F* GetHistogram()). If I use this function like anObj->GetHistogram()->Draw(), everything works fine with version 3.00/06. But with version 3.01/05, the axis numbers are not displayed correctly: all of them are superimposed on each other so it is impossible to read them. Besides, the tick marks disappear too, except one for each axis. Weird... Any idea? ROOT parameters are the same as above. Regards, Bertalan
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:49 MET