Page 1 of 1

TGPPathGradientBrush is not defined

Posted: Wed Jun 12, 2013 7:16 pm
by 16458946
Hi,

I have sucessfully installed TeeChart Teechart VCL 2013.08.130521 to C++ Builder XE3.
When I build my application, I get this message: "VCLTee.TeeGDIPlus.hpp(94) E2293 ) expected".

The line 94 on file VCLTee.TeeGDIPlus.hpp is: void __fastcall SetGradientColors(TGPPathGradientBrush* ABrush);

The problem is the entry type TGPPathGradientBrush is not defined.
I tried to find the definition of type TGPPathGradientBrush in other Teechart include files but did not find it.

Where is the definition of type TGPPathGradientBrush?

Best regards,
Alain

Re: TGPPathGradientBrush is not defined

Posted: Thu Jun 13, 2013 10:11 am
by narcis
Hi Alain,

This is a known C++ Builder issue since GDI+ was set as the default canvas in the last update. To solve the problem set the rendering canvas back to GDI at the Chart -> 3D -> Render tab in the chart editor and remove TeeGDIPlus unit references in your project. You may also be interested in what Servando posted here. It might help solving the problem you are experiencing. For further information please look at C++ Applications Use STRICT Type Checking.