I am sorry to say that the ROOT GUI classes, and thus dialogs.C, are
currently
only supported on X11 and not Win32.See note at bottom of
http://root.cern.ch/root/HowtoGUI.html.
We are still looking for help in this area.
Any volunteers?
Cheers, Fons.
Nobuyuki Hikichi wrote:
>
> 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.
-- 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 7677910