Hi,
Most likely you need to do
#include "Windows4Root.h"
to avoid problem with the fact that MS decided to use #define on
some common names.
The win32 line has been replaced by a new implementation using gdk. You should indeed be using TCanvas.h instead of TWin32Canvas.h
Cheers,
Philippe.
From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch]
On Behalf Of Dimitris Sideris
Sent: Thursday, May 12, 2005 9:36 AM
To: roottalk_at_pcroot.cern.ch
Subject: [ROOT] where is Twin32Canvas?
Hello,
I am trying to recompile an application with v studio .net and root 4.02/00
. The application did compile with root v3.03/09, but when I tried to
compile it with 4.02/00 it complained that it can't find TWin32Canvas.h.
Since it rally wasn't there, I assumed that it was substituted by TCanvas.h.
However when I include TCanvas.h instead of TWin32Canvas.h, I get another
error:
c:\root\include\TVirtualX.h(178) : error C2059: syntax error : 'constant'
Since the same code compiles with the same compiler but an older version of root I wonder whether I need to make some changes to accomodate the new root version?
Regards
Dimitris
Received on Thu May 12 2005 - 22:28:43 MEST
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:07 MET