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

Вниз

RTTI for KOL?   Найти похожие ветки 

 
lo   (2005-02-21 04:52) [0]

Has anyone worked on the RTTI for KOL yet?

I figure minimal conversion to get started would involve the Typinfo unit.. and so far it might be an easy conversion. There is a lot of ASM in typinfo.pas and no stringlists, etc.

If nobody has, I will start.. I need RTTi! It"s so useful in certain situations.

Lars


 
lo   (2005-02-21 05:25) [1]

Of course since the way KOL is developed maybe none of the RTTI is possible?  I shall maybe do reading before asking the question.


 
thaddy   (2005-02-21 13:19) [2]

RTTI is a if not the major cause of code bloat! I have done some work on RTTI like behaveour using a PControl COM interface (i.e.the typelibrary is the RTTI information). What exactly do you need? Most RTTI related code can be replaced with plain KOL code: f.e. you can use my KOLXML unit to write simple and even more complex componentproperties to a file and read them back.


 
Lars   (2005-02-25 05:23) [3]

I looked in the archives and it appears Speller has already started on it but I couldn"t understand all of what he found out..

Well, what I was considering using it for is for the KOL IDE that we were going to start! Could we implement an object inspector easily, without something like RTTI for example?


 
SPeller ©   (2005-02-25 06:59) [4]

I just have stranslated units Variants, VarUtils and  TypeInfo to use them with KOL, but use with classes. Theese modules increases exe size on ~120 KBytes.


 
lo   (2005-02-26 19:32) [5]

Well if we were making something large like an IDE for KOL then 120kbytes might not be so bad ;) ..

So you got the units working (to compile)?  I didn"t want to re-work something someone has already done.


 
SPeller ©   (2005-02-26 21:39) [6]

http://delphimaster.net/view/11-1096279528/


 
thaddy   (2005-02-28 18:45) [7]

Lars,

Yes you can write an object inspector and I have even done just that. Since all information you need is in the control already.

Here's a link to an exe demo: http://www.thaddy.com/simple.zip
I am not yet prepared to release the code, since I need to integrate an editor, but it has already a KOL formsdesigner, objectinspector and component palette.


 
thaddy   (2005-02-28 18:50) [8]

Lars,

Yes you can write an object inspector and I have even done just that. Since all information you need is in the control already.

Here's a link to an exe demo: http://www.thaddy.com/simple.zip
I am not yet prepared to release the code, since I need to integrate an editor, but it has already a KOL formsdesigner, objectinspector and component palette.



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

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

Наверх




Память: 0.48 MB
Время: 0.038 c
14-1128112246
LordOfRock
2005-10-01 00:30
2005.10.23
Вот я скажу насчёт классики...


3-1126606350
Aliv
2005-09-13 14:12
2005.10.23
работа с базой paradox через сеть


14-1128342412
oldman
2005-10-03 16:26
2005.10.23
У директора сломался факс :(


4-1124471350
LyNx
2005-08-19 21:09
2005.10.23
Интеграция одного окна в другое


2-1127044584
-Virus-
2005-09-18 15:56
2005.10.23
Случайное число Real.