Please tell me how can I use dialogs on Windows95? ROOT version 2.21/08 I try to use dialogs.C in tutorails with following sample. { gROOT->LoadMacro ("dialogs.C"); const char *file = OpenFileDialog(); Int_t run = GetIntegerDialog("Give run number:", 0); Int_t event = GetIntegerDialog("Give event number:", 0); printf("analyse run %d, event %d from file %s\n", run ,event, file); } and here is a session; root [0].x dia.C Error: illegal pointer to class object gClient0x0 0 FILE:c:\...\tutorials\diaglogs.C LINE:235 Error: illegal pointer to class object gClient0x0 0 FILE:c:\...\tutorials\diaglogs.C LINE:235 Name: Nobuyuki Hikichi <hikichi@sra.co.jp> Office: Software Research Associates, Inc., Japan.
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:34 MET