Re: [ROOT] Root Conflicts with Windows

From: Christian Theis (Christian.Theis@cern.ch)
Date: Wed Sep 27 2000 - 11:00:43 MEST


Hi Valery,

if I got the problem Dr. D Siders complained about correctly, the solution 
is quite simple. Including a header file that deals with the canvas in
your program files, will result in errors due to naming problems.
The easiest way to avoid this is to provide your own root class where you
include all your root headerfiles you want and afx.h instead of stdafx.h

In principle all this class has to provide is a function that creates and
holds a Root Canvas, but more functionality in the way of OOP is welcome.

This approach for including ROOT in a standalone windows worked just fine
for me.

Chris

---------------------------------------------------------------------------
Chris Theis
CERN/EP - European Organisation for Nuclear Research 
1211 Geneva 23, Switzerland
Phone: +41 22 767 7372                    Office: 40-2B-24
e-mail: Christian.Theis@cern.ch           www: http://www.cern.ch/ctheis
--------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:33 MET