TChartAxisTitle already exists

TeeChart for ActiveX, COM and ASP
Post Reply
cornastone
Newbie
Newbie
Posts: 2
Joined: Tue May 26, 2009 12:00 am

TChartAxisTitle already exists

Post by cornastone » Thu Aug 27, 2009 10:34 am

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

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

Re: TChartAxisTitle already exists

Post by Yeray » Thu Aug 27, 2009 1:12 pm

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.
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

cornastone
Newbie
Newbie
Posts: 2
Joined: Tue May 26, 2009 12:00 am

Re: TChartAxisTitle already exists

Post by cornastone » Thu Aug 27, 2009 4:11 pm

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

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

Re: TChartAxisTitle already exists

Post by Yeray » Fri Aug 28, 2009 7:29 am

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).
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