Dear Philippe
Thank you for this hint. Generally I try to avoid using static variables,
and I will follow your recommendation and also remove it here.
However, the problem with ACLiC remains.
Best regards
Christian
Philippe Canal wrote:
>Hi Christian,
>
>I would just recommend not making your variable static unless your function
>is really time critical.
>
>Cheers,
>Philippe.
>
>-----Original Message-----
>From: cstrato [mailto:aon.912121399@aon.at]
>Sent: Tuesday, July 22, 2003 2:02 PM
>To: Philippe Canal
>Cc: Valeriy Onuchin; Rene Brun
>Subject: Re: [ROOT] Problem compiling with ACLiC
>
>
>Dear Philippe
>
>Sorry, I realized that I did not answer your question.
>I have copied the corresponding code from the tutorial guitest.C,
>from method TestMainFrame::HandleMenu().
>Since I am calling TGFileDialog a couple of times, I kept the line
> static TString dir(".");
>Then I decided it would make more sense to use the home directory
>and changed the code to
> static TString dir(gSystem->HomeDirectory());
>I do not know if there is a similar shortcut for home directory as
>"." is for working directory.
>This is all, no special purpose. I hope this answers your question.
>
>Best regards
>Christian
>
>Philippe Canal wrote:
>
>
>
>>
>>
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET