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

Вниз

Почему KOL ругается на Classes.pas?   Найти похожие ветки 

 
NorthMan   (2005-02-15 12:08) [0]

в разные моменты на разные строки в Classes.pas ругается. Может что-нить криво встало?


 
NorthMan   (2005-02-15 12:10) [1]

например на процедуру
procedure ClassNotFound(const ClassName: string);
begin
 raise EClassNotFound.CreateFmt(SClassNotFound, [ClassName]);
end;
говорит
[Error] Classes.pas(1277): Undeclared identifier: "SClassNotFound"


 
thaddy   (2005-02-15 13:11) [2]

KOL does not use many classes and none are from classes.pas. KOL does preferably not use the VCL exception handling either. Almost all necessary support routines are in kol.pas itself and in the system replacement units. If you want to use structured exception handling, download err.pas from the kol website.
In this case it could also be the problem that you use a different version of delphi than the one a certain library is written in, *and* that library is not fully written in kol *and* does use classes.pas. In that case it may be sufficient to replace a reference to const.pas with rtlconsts.pas. But then again: if it references classes.pas it is *not* fully KOL compatible. (like one of the two kol indy translations, which compile with KOL, but are not fully translated yet, leading to massive code although smaller than with full VCL).



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

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

Наверх




Память: 0.47 MB
Время: 0.055 c
14-1127463420
ANB
2005-09-23 12:17
2005.10.16
Слово в кроссворде из 6 букв


1-1127225050
Германн
2005-09-20 18:04
2005.10.16
Ошибка Invalid File Name


14-1127816097
__DATA__
2005-09-27 14:14
2005.10.16
Unit n was compiled with a different version of System.RTLVersion


1-1127382668
Ega23
2005-09-22 13:51
2005.10.16
Генерация GUID


3-1122637660
tanya
2005-07-29 15:47
2005.10.16
Как найти (все) MSSQL серверы в локальной сети