Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "KOL";
Текущий архив: 2005.10.16;
Скачать: [xml.tar.bz2];

Вниз

Почему 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 вся ветка

Форум: "KOL";
Текущий архив: 2005.10.16;
Скачать: [xml.tar.bz2];

Наверх




Память: 0.44 MB
Время: 0.041 c
14-1127476991
raymond
2005-09-23 16:03
2005.10.16
Язык С, тудыть его в качель...


1-1127358717
Antonn
2005-09-22 07:11
2005.10.16
Регистрация программы в автозапуске


6-1119435840
Drema
2005-06-22 14:24
2005.10.16
Twebbrowser и события в нем


1-1127809485
BaxTMaH
2005-09-27 12:24
2005.10.16
Как в Edit вводить только цифры?


1-1127451876
Геннадий
2005-09-23 09:04
2005.10.16
I/O error 32





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский