TChartWalls.Create - No overload found

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
SR_Developer
Newbie
Newbie
Posts: 2
Joined: Mon May 27, 2013 12:00 am

TChartWalls.Create - No overload found

Post by SR_Developer » Fri May 31, 2013 8:55 am

Trying to compile an old project with new VCL2013 PRO.

But in Chart.pas I can't seem to get passed TChartWalls.Create where

FBack:=TChartBackWall.Create(FChart);

gives me a : [dcc32 Error] Chart.pas(2274): E2250 There is no overloaded version of 'Create' that can be called with these arguments

By lib path points to the source code and I have include VCLTee in Unit Scope Names for project

If I don't include VCLTee then I get stuck in TeCanvas.pas in TTeeCanvas.TextOut where there is a difference between types (VCLTee.TeCanvas.TTeeCanvas vs TeCanvas.TTeeCanvas) first param for HtmlTextOut.

I have tried whit an new empty project where I just add Chart in uses with the same result.

Compiler: XE4

Any ideas

/Jens G

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TChartWalls.Create - No overload found

Post by Yeray » Fri May 31, 2013 2:37 pm

Hi Jens,

First of all, try adding the "\Sources\compiled\Delphi18.win32\Lib" path in the library path and move it to the top.
Remove the other TeeChart references (or just add a point at the beginning of the path to turn it grey).
Does a simple project with just a chart work fine?

Then, if you want to directly use the sources in XE4, remove the path added above and add the "\Sources\VCL" and "\Sources", and move them to the top, keeping that order so the IDE will find the VCL folder before.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

SR_Developer
Newbie
Newbie
Posts: 2
Joined: Mon May 27, 2013 12:00 am

Re: TChartWalls.Create - No overload found

Post by SR_Developer » Mon Jun 03, 2013 6:26 am

Using the compiled path worked. Thanks for the tip.

But that means that the source can't compile???

/Jens

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TChartWalls.Create - No overload found

Post by Yeray » Mon Jun 03, 2013 9:05 am

Hi Jens,
SR_Developer wrote:But that means that the source can't compile???
No, of course you can use the sources directly. The first part of my last post was intended to give you an alternative to build your projects using TeeChart.
The second part of my last answer is the option to follow to compile your projects directly using TeeChart sources.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply