Page 1 of 1

TChartAxisTitle already exists

Posted: Thu Aug 27, 2009 10:34 am
by 10553365
Hi

I have a dll which was using TeeChart Pro 7 and the charts are created dynamically.
Then I upgrade to TeeChart Pro 8.05, by unistalling 7, then insalling 8.
My dll compiles and builds good, but when I run the dll I get the following error:
Exception EFilerError in module rtl70.bpl at 0002CCA7. A class named TChartAxisTitle already exists.
Can any one help me?

Thanks in advance.

Given

Re: TChartAxisTitle already exists

Posted: Thu Aug 27, 2009 1:12 pm
by yeray
Hi Given,

First of all, it seems a VCL problem, not an ActiveX one, isn't it?

This probably will be the common problem of an IDE referencing to old runtime packages (at the project options). So please, make sure that only one of the TeeChart version runtime packages are referenced.

Re: TChartAxisTitle already exists

Posted: Thu Aug 27, 2009 4:11 pm
by 10553365
Hi Yeray

Yes I did that, I removed all the TeeChart 7 references which are teeui77;teedb77;tee77;teeqr77, now there's the following references TeeUI87;Tee87;TeeWorld87;TeePro87;TeeLanguage87;TeeTree2D7Tee8 and I'm still getting the same problem.

Kind regards

Given

Re: TChartAxisTitle already exists

Posted: Fri Aug 28, 2009 7:29 am
by yeray
Hi Given,

I would try the following:

- Ensure that the IDE is clean of old/invalid references at search paths and library paths (as you say, that's already done).

- Create a new simple project with only a form and a chart. Look at the about of teechart (right button on the form) to verify that the correct version is used. Try to compile and execute the project.

- Open your old project and recheck the search and library paths replacing the old references if still remain.

- At this point, your IDE should be clean and tested and also your old project. Then, if you still have problems, I'm afraid that you should edit manually your project files and search and replace the remaining old references for the new ones. (Please, do this with the IDE closed).