Compile error using TeeChart 2012
Posted: Sat Apr 13, 2013 8:25 am
I recompiled a project in c++ 2010 that was originally built with 2011 teechart components. After loading TeeChart 2012 I am getting the following error:
[BCC32 Error] TeeTools.hpp(832): E2303 Type name expected
Full parser context
DCR.cpp(6): #include ChartRecorder.h
ChartRecorder.h(9): #include C:\Program Files\Steema Software\TeeChart 2012 for Delphi 2010\Delphi14\Include\TeeTools.hpp
TeeTools.hpp(36): namespace Teetools
TeeTools.hpp(822): class TTeeShapePosition
in TeeTools.hpp the offending line is:
class DELPHICLASS TTeeShapePosition;
class PASCALIMPLEMENTATION TTeeShapePosition : public Chart::TTeeCustomShapePosition
{
typedef Chart::TTeeCustomShapePosition inherited;
__published:
__property Bevel = {default=0};
__property BevelWidth = {default=2};
__property Brush;
__property Color = {default=16777215};
__property CustomPosition;
__property Emboss; <--------------------------------------------Right Here
__property Font;
__property Frame;
__property Gradient;
__property Left;
__property Picture;
__property Shadow;
__property ShapeStyle = {default=0};
__property Top;
__property Transparency = {default=0};
__property Transparent;
__property Visible = {default=1};
public:
/* TTeeCustomShape.Create */ inline __fastcall virtual TTeeShapePosition(Teeprocs::TCustomTeePanel* AOwner)/* overload */ : Chart::TTeeCustomShapePosition(AOwner) { }
/* TTeeCustomShape.Destroy */ inline __fastcall virtual ~TTeeShapePosition(void) { }
};
Does anyone have any ideas?
[BCC32 Error] TeeTools.hpp(832): E2303 Type name expected
Full parser context
DCR.cpp(6): #include ChartRecorder.h
ChartRecorder.h(9): #include C:\Program Files\Steema Software\TeeChart 2012 for Delphi 2010\Delphi14\Include\TeeTools.hpp
TeeTools.hpp(36): namespace Teetools
TeeTools.hpp(822): class TTeeShapePosition
in TeeTools.hpp the offending line is:
class DELPHICLASS TTeeShapePosition;
class PASCALIMPLEMENTATION TTeeShapePosition : public Chart::TTeeCustomShapePosition
{
typedef Chart::TTeeCustomShapePosition inherited;
__published:
__property Bevel = {default=0};
__property BevelWidth = {default=2};
__property Brush;
__property Color = {default=16777215};
__property CustomPosition;
__property Emboss; <--------------------------------------------Right Here
__property Font;
__property Frame;
__property Gradient;
__property Left;
__property Picture;
__property Shadow;
__property ShapeStyle = {default=0};
__property Top;
__property Transparency = {default=0};
__property Transparent;
__property Visible = {default=1};
public:
/* TTeeCustomShape.Create */ inline __fastcall virtual TTeeShapePosition(Teeprocs::TCustomTeePanel* AOwner)/* overload */ : Chart::TTeeCustomShapePosition(AOwner) { }
/* TTeeCustomShape.Destroy */ inline __fastcall virtual ~TTeeShapePosition(void) { }
};
Does anyone have any ideas?