Hi Valery and rooters, thanks for the hint to check IsZombie when loading non root files, but in a MSVC++ app the next line leads to a crash, obvioulsy when root is trying to remove the stack zombie ! The debugger points to "TIter.h" where and null pointer is passed for the collection parameter. Belwo is my staright forward code, what is wrong with this ?? void ApplicationWindow::load( const char *fileName ) { TFile File2(fileName); if(File2.IsZombie()) { QMessageBox::information ( this, "File Open","This file is not a valid ROOT file !"); return; // crash here !! } } Joe __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:38 MET