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?
Compile error using TeeChart 2012
Re: Compile error using TeeChart 2012
Hello,
Can you reproduce the problem with new simple project?
If not, please check the library and include paths in the IDE, and also edit the old project files manually (with notepad or similar) and correct any wrong reference the old TeeChart installation.
Can you reproduce the problem with new simple project?
If not, please check the library and include paths in the IDE, and also edit the old project files manually (with notepad or similar) and correct any wrong reference the old TeeChart installation.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Compile error using TeeChart 2012
I found this to be an installation issue with 12.7 date Nov 6, 2012. I kept getting a message to reinstall and/or recompile.
12.6 an earlier version works fine.
12.6 an earlier version works fine.
Re: Compile error using TeeChart 2012
Hello,
We'd be pleased to take a look at it if you can arrange a simple example project we can run as-is to reproduce the problem here.
Thanks in advance.
We'd be pleased to take a look at it if you can arrange a simple example project we can run as-is to reproduce the problem here.
Thanks in advance.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |