how can I use dialogs on Windows95?

Nobuyuki Hikichi (hikichi@sra.co.jp)
Tue, 15 Jun 1999 10:35:21 +0900 (JST)


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.