Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2007.08.26;
Скачать: CL | DM;

Вниз

A class name TChartAxisTitle already exists   Найти похожие ветки 

 
Still Swamp   (2007-05-30 10:02) [0]

Юзаю Turbo Delphi Version 10.0.2288.42451. В нем TChart поставляемый комплектом.

Из родительского приложения вызываю несколько DLL которые содержат компоненты TChart.

Первый вызов - все нормально. Все работает. При втором вызове другой длл которая содержит TChar на его создании получаю вот такую штуку: A class name TChartAxisTitle already exists.

Кто сталкивался? Как бороться?


 
Still Swamp   (2007-05-30 10:31) [1]

Нашел на описание проблемы, суть в том что TChart 7.08 не проверяет наличие класса. Рекомендуют сделать так в исходниках:

if GetClass("TChartAxisTitle") = nil then
 RegisterClasses([
TChartAxisTitle,TChartAxis,TChartDepthAxis,TSeriesMarks ]);

Однако, у меня нет исходников. Есть какие нить идеи как это обойти имеющимися средствами? Может порекомендуете версию где это испралено?


 
Serg58 ©   (2007-06-18 01:02) [2]

I investigated and determined that the old TChart packages had already been removed. So no problem there; there must be some other package using it, though. A little trial and error determined that the culprit was the Developer Express Printing System. But this Developer Express support article indicates that the Developer Express installer will automatically determine which version of TeeChart you have installed and rewrite the packages accordingly(!). So here"s how I fixed the error:

Start Delphi. Choose Components->Installed Packages from the main menu
Un-check "Express Printing System ReportLink for TDBChart..." and "Express Printing System ReportLink for TeeChart..."
Check "TeeChart Standard 7 Components" and then click OK
Shut down Delphi
Start->Control Panel->Add or Remove Programs
Select the Developer Express VCL products in the list and click the "Change or Remove" button
Click Next when the installer comes up. Choose "recompile"
Follow the indicated steps to recompile the components



Страницы: 1 вся ветка

Текущий архив: 2007.08.26;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.03 c
15-1185782087
TStas
2007-07-30 11:54
2007.08.26
Не планируется ли ММП?


15-1185530398
Crazybobr
2007-07-27 13:59
2007.08.26
Вы бы купили клавиатуру за 43990 руб.?


1-1181888482
JanMihail
2007-06-15 10:21
2007.08.26
Смена иконки папки под Vista


15-1185183893
Tdu
2007-07-23 13:44
2007.08.26
создание на Delphi dll для Матлаба


4-1173097939
Dmitry_177
2007-03-05 15:32
2007.08.26
Отобразить GIF средствами WinAPI, без всяких там компонентов