Page 1 of 1

TChartWalls.Create - No overload found

Posted: Fri May 31, 2013 8:55 am
by 16566037
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

Re: TChartWalls.Create - No overload found

Posted: Fri May 31, 2013 2:37 pm
by yeray
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.

Re: TChartWalls.Create - No overload found

Posted: Mon Jun 03, 2013 6:26 am
by 16566037
Using the compiled path worked. Thanks for the tip.

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

/Jens

Re: TChartWalls.Create - No overload found

Posted: Mon Jun 03, 2013 9:05 am
by yeray
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.