[fpc-devel] TObject differences between fpc and delphi

Paul Ishenin ip at kmiac.ru
Wed Oct 28 08:54:46 CET 2009


Michael Van Canneyt wrote:

>> Few questions now:
>> a) Why TypeInfo(TObject) <> TObject.ClassInfo?
>> b) Why TypeInfo(TPersistent) = TPersistent.ClassInfo?
> 
> Because TPersistent is compiled in $M+ ?

Yes, that's why I gived that TPersistent example here. I can't figure 
our how TypeInfo(TObject) works if TObject has no RTTI and since it 
works then why TObject.ClassInfo = nil.

Best regards,
Paul Ishenin.




More information about the fpc-devel mailing list