TApplication "eats" argc and argv values

As far as I can tell, after calling “TApplication HistoApp (“Histogram”, &argc,argv);” other parts of my program that reference argc and argv are returned nothing. Page 339 of the User’s Guide says “The original list of argument options can be retrieved via the Argc() and Argv() methods” but gives no clue as to what these methods are (these aren’t valid functions in any context I tried). How can I pass the arguments onto the rest of my app?


Argc and Argv are member functions of TApplication.
HistoApp.Argc will return the number of arguments
HistoApp.Argv() will return a pointer to the array of options
HistoApp.Argv(i) will return argument number i

root.cern.ch/root/htmldoc/TAppli … pplication
root.cern.ch/root/htmldoc/TAppli … GetOptions