Hi Rooters! I have again some pbs with the a call to the TCint::ExecuteMacro. I am working with a compile c++ prg; I want that when someone hits a special button, the prg execute a given Root macro. Ther is no problem for doing that if this macro has no argument... But I want to give some arguments to the macro (let say a Tree*) because my main prg has made a given job on that tree and each user would do their own jobs on this tree. Unfortunatly I don't succeed to do that. The user macro is for exemple int my_macro(TTree *tree) { ... return 0; } How to call that macro from my main prg with the argument current_tree, where current_tree is a pointer on a given tree? Thanks Olivier Meplan.
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:33 MET