Hello,
Version  4.03/03
Machine  WindowsXP (service pack 2) Pro Dual
P4
I have a very simple application which just attempts to draw a canvas on the screen. This code works fine on my desktop machine (which is XP Pro), however, when I build and run the same application on a different machine (the one listed above), I get the following two lines displayed on my console:
Warning in <TCanvas::ResizePad>: can1 width changed
from 0 to 10
Warning in <TCanvas::ResizePad>: can1 height changed
from 0 to 10
And then no canvas is ever drawn. Here is the code:
int main(int argc,char* argv[])
{ TApplication* app = new TApplication("root_app",&argc,argv); TCanvas* can1 = new TCanvas("can1","TICKS",0,0,800,600); can1->SetFillColor(42); can1->SetGridx(); can1->SetGridy(); can1->Draw(); Sleep(10000); return 0;
At this point I am banging my head against a wall trying to get this fixed. Any suggestions Thanks!
Cheers,
Mike
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:06 MET