Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.023 c
14-1127385140
CHES
2005-09-22 14:32
2005.10.16
Разыскивается книга Н.Вирта "Систематическое программирование"


14-1124309675
Пантелеев Иван
2005-08-18 00:14
2005.10.16
Зашифрофка программы


2-1126982646
ArtemESC
2005-09-17 22:44
2005.10.16
Как считать данные из оперативной памяти....


14-1127629925
Lamer@fools.ua
2005-09-25 10:32
2005.10.16
Дожился


14-1127760566
Piter
2005-09-26 22:49
2005.10.16
Ковырялся я тут в VCL...




   Наверх