Re: [ROOT] TCanvas in compiled application

From: Andrea Di Simone (Andrea.DiSimone@ROMA2.INFN.IT)
Date: Wed Dec 18 2002 - 18:24:19 MET


On Wed, 18 Dec 2002, Rene Brun wrote:

> Andrea,
> 
> Are you running with the standard ROOT executable or are you making
> your own main program?
> If you are making your own main program, are you creating a TApplication
> object as illustrated in the various ROOT test programs ?

Hi,

At the beginning of my program I put these lines

extern void InitGui();
VoidFuncPtr_t initfuncs[]={InitGui,0};
TROOT root("analisi x5", "analisi x5",initfuncs);

This, as I told you, works fine with 3.03/9 (even if I don't create a
TApplication).

Now, following your suggestion, I created a TApplication, and this solved
the problem also with the last release.

Thanks for your help,

Andrea.



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:24 MET