R: [ROOT] Simple File Dialog

From: Luca Di Fino (luca.difino@ROMA2.INFN.IT)
Date: Thu Jun 20 2002 - 16:49:20 MEST


Hi Fons,
I tried to compile dialogs.C, but I get some errors.
I included Class definition in the .h of my project, and I wanted to
insert example code (found in the initial comment of dialogs.C) but in
compiling I get the following errors.


c:\root\gui\gui 2\mymain.h(66) : error C2440: 'initializing' : cannot
convert from 'const class TGWindow *' to 'class TGWindow *'
        Conversion loses qualifiers
c:\root\gui\gui 2\mymain.h(282) : error C2065: 'atoi' : undeclared
identifier
c:\root\gui\gui 2\mymain.h(296) : error C2065: 'atof' : undeclared
identifier

Where is the problem?
I didn't change the code, is there any additional code that is missing?
Thanks, Luca

_________________________________________

Dr. Luca Di Fino - luca.difino@roma2.infn.it
University of Rome Tor Vergata and INFN Roma 2
Via della Ricerca Scientifica 1
I-00133 Rome Italy
Phone: +39 06 7259 4502
_________________________________________



-> -----Messaggio originale-----
-> Da: owner-roottalk@pcroot.cern.ch 
-> [mailto:owner-roottalk@pcroot.cern.ch] Per conto di Fons Rademakers
-> Inviato: luned́ 17 giugno 2002 20.01
-> A: Luca Di Fino
-> Cc: roottalk@pcroot.cern.ch
-> Oggetto: Re: [ROOT] Simple File Dialog
-> 
-> 
-> Hi Luca,
-> 
->  have a look in $ROOTSYS/tutorials/dialogs.C
-> 
-> Cheers, Fons.
-> 
-> 
-> 
-> On Mon, 2002-06-17 at 17:04, Luca Di Fino wrote:
-> > Hi Rooters,
-> > how can I create a simple file dialog using TGFileDialog 
-> class, and 
-> > store the filename in a char variable? Thanks, Luca
-> > _________________________________________
-> > 
-> > Dr. Luca Di Fino - luca.difino@roma2.infn.it
-> > University of Rome Tor Vergata and INFN Roma 2
-> > Via della Ricerca Scientifica 1
-> > I-00133 Rome Italy
-> > Phone: +39 06 7259 4502 _________________________________________
-> > 
-> >  
-> -- 
-> Org:    CERN, European Laboratory for Particle Physics.
-> Mail:   1211 Geneve 23, Switzerland
-> E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
-> WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480
-> 



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