Page 1 of 1

Latest release is not compatible with the TMS Pack

Posted: Wed Feb 11, 2015 1:39 pm
by 16568919
I've installed latest TeeChartPro, but found new bug:
in the previous versions in the file VclTee.TeeGDIPlus.hpp
the lines:
typedef Gdiplus::Graphics TGPGraphics;
typedef Gdiplus::Brush TGPBrush;
typedef Gdiplus::Pen TGPPen;
typedef Gdiplus::Font TGPFont;
typedef Gdiplus::PrivateFontCollection TGPPrivateFontCollection;
typedef Gdiplus::RectF TGPRectF;
typedef Gdiplus::PointF TGPPointF;
typedef Gdiplus::GraphicsPath TGPGraphicsPath;
typedef Gdiplus::Matrix TGPMatrix;
typedef Gdiplus::Image TGPImage;
typedef Gdiplus::Rect TGPRect;
typedef Gdiplus::PathGradientBrush TGPPathGradientBrush;
typedef Gdiplus::LinearGradientBrush TGPLinearGradientBrush;
were under namespace Vcltee, but now there are out of this namespace.
For this reason there are many compiler errors, as in the
AdvGdiPlus.hpp there are the same definitions (TGPGraphics, TGPBrush, ......)

Re: Latest release is not compatible with the TMS Pack

Posted: Thu Feb 12, 2015 10:59 am
by yeray
Hi Vladimir,

Could you please specify in what exact TeeChart version you found this was different?

Re: Latest release is not compatible with the TMS Pack

Posted: Thu Feb 12, 2015 12:00 pm
by 16568919
Sorry, Yeray, I checked again and can see that the program that is not compatible was done under BuilderXE with the TeeChart from May 2014, now I have to recompile for XE3 and XE7.
The solution for me is to place definitions under namespace Vcltee.

May be you can do this in the future release?

Re: Latest release is not compatible with the TMS Pack

Posted: Fri Feb 13, 2015 4:12 pm
by yeray
Hi Vladimir,
anauta2014 wrote:The solution for me is to place definitions under namespace Vcltee.
Do you mean in the project options or in the file itself?
Note this.

Re: Latest release is not compatible with the TMS Pack

Posted: Sun Feb 15, 2015 5:36 pm
by 16568919
Hi Yeray
I mean changes in the VclTee.TeeGDIPlus.hpp file,
I did ones after installation of the TeeChartPro package.
I've moved these lines to the namespace Vcltee:

typedef Gdiplus::Graphics TGPGraphics;
typedef Gdiplus::Brush TGPBrush;
typedef Gdiplus::Pen TGPPen;
typedef Gdiplus::Font TGPFont;
typedef Gdiplus::PrivateFontCollection TGPPrivateFontCollection;
typedef Gdiplus::RectF TGPRectF;
typedef Gdiplus::PointF TGPPointF;
typedef Gdiplus::GraphicsPath TGPGraphicsPath;
typedef Gdiplus::Matrix TGPMatrix;
typedef Gdiplus::Image TGPImage;
typedef Gdiplus::Rect TGPRect;
typedef Gdiplus::PathGradientBrush TGPPathGradientBrush;
typedef Gdiplus::LinearGradientBrush TGPLinearGradientBrush;