![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
RTTI for KOL?
lo © (2005-02-21 04:52:00)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
thaddy (2005-02-28 18:50:00) [1]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:45:00) [2]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.
SPeller (2005-02-26 21:39:00) [3]http://www.delphimaster.ru/cgi-bin/forum.pl?id=1096279528&n=10
lo (2005-02-26 19:32:00) [4]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-25 06:59:00) [5]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.
Lars (2005-02-25 05:23:00) [6]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?
thaddy (2005-02-21 13:19:00) [7]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.
lo (2005-02-21 05:25:00) [8]Of course since the way KOL is developed maybe none of the RTTI is possible? I shall maybe do reading before asking the question.