Hello Valeri, In CINT I get the same behavior. Nevertheless compiling the code with Visual C++ 6 SP 3 gives no crash with cout<<(const char *)W<<endl; but still crashes with cout<<W<<endl;!! Nevertheless, also CINT should give an output for cout<<W<<endl, shouldn't it? It would be very helpful for my to find a solution for the problem, since I am trying to port a large program to Windows and unfortunatly I use this calls very, very often. Thanks, Andreas Valeri Fine wrote: > It seems to me I have found the related topics: > > http://root.cern.ch/phpBB2/viewtopic.php?t=442&highlight= > > and > > http://root.cern.ch/root/roottalk/roottalk04/0097.html > > > > Anyway I was not able to reproduce the crash. > > The only problem I found calling from CINT interactive session: > > TString W = "Hello World"; > cout<<W<<endl; // there is no output > cout<<(const char *)W<<endl; // it is Ok > Hello World > ---- > Best regards > Valeri -- Andreas Zoglauer MPI fuer extraterrestrische Physik Phone: +49/89-30000-3848 Postfach 1312 Fax: +49/89-30000-3569 85741 Garching, Germany Email: zog@mpe.mpg.de
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET