problems compiling TPad

Ludwig Maier (lmaier@e18.physik.tu-muenchen.de)
Fri, 18 Sep 1998 14:10:30 +0200


Hi,

I have problems compiling this simple macro:

TCanvas * c1;
TPad * pad1;
c1 = new TCanvas("c1","Example",200,10,700,780);
pad1 = new TPad ("pad1","pad1",0.02,0.52,0.98,0.98,21);
pad1->Draw();

It works just fine executed as macro, but the compiled and linked
version breaks after a floting point exeption caused by TPad::Resize.
I still haven't found what I'm doing wrong here.
I hope somebody could give me a hint.

Thanks,

Ludwig