<p>Am 07.12.2016 13:58 schrieb "Michael Van Canneyt" <<a href="mailto:michael@freepascal.org">michael@freepascal.org</a>>:<br>
><br>
><br>
><br>
> On Wed, 7 Dec 2016, Sven Barth wrote:<br>
><br>
>>> Trying to generate the exact same information as Delphi is IMHO not the<br>
>><br>
>> right path.<br>
>>><br>
>>><br>
>>> What is needed is an API that gives you the info contained in the<br>
>><br>
>> internal structures.<br>
>><br>
>> That's what the RTTI unit is there for. It provides a higher level API to<br>
>> the type information than typinfo does.<br>
><br>
><br>
> I was hoping to avoid the RTTI unit, it has a horrible, Horrible, HORRIBLE<br>
> interface in my opinion. (probably again some misguided .NET clone attempt)</p>
<p>I can't really comment on that since I had left Delphi before that was introduced.</p>
<p>> But no matter:<br>
> If the info is there, I can write my own interface which is more to my liking.<br>
> I don't care about Delphi compatibility in these matters. What matters is<br>
> that the concept is there, the exact API I will creatre form myself.</p>
<p>The typinfo unit will definitely expose all the information as well (the RTTI unit will probably simply use the data that typinfo provides).</p>
<p>Regards,<br>
Sven</p>