Page 1 of 1

Multiple DLLs: TChartAxisTitle already exists

Posted: Tue Aug 07, 2007 2:24 pm
by 9346156

I'm using TeeChart 7.07 Pro without source code. My tool is C++ Builder 5.

I have a software consisting of main exe and several dll's. In main exe I have placed TChart on many forms. Now, I have placed TChart into a form in a dll.
When I load the dll dynamically with LoadLibrary, I get the error message "A class named TChartAxisTitle already exists". And the dll refuses to load.

I think this is some kind of bug in registering the TChart classes?


Posted: Mon Aug 13, 2007 7:49 am
by Pep
Hi Pasi,

check that your application is not referencing to any runtime packages (at the project options). You should make sure that only one of te TeeChart version runtime packages are referenced.