Newsgroups : Borland : borland.public.delphi.rtl.win32 : 2007 Mar : Constructor and RTTI

www.cryer.info
Managed Newsgroup Archive

Constructor and RTTI

Subject:Constructor and RTTI
Posted by:"Stefan Meisner" (stefan.meisn..@gmx.net)
Date:Sun, 25 Mar 2007 16:17:51

Hello!

Looking into the unit TypInfo I one can see the following declaration:
  TMethodKind = (mkProcedure, mkFunction, mkConstructor, mkDestructor,
    mkClassProcedure, mkClassFunction, ...

Although I even did publish the constructor(s) I have not been only to
figure
out how to get the constructor(s) of a given TClass using RTTI.
Probably someone could give me a hint about this issue.
Btw: I have also fiddled about extended RTTI ($METHODINFO ON) but
have not been much more successful with this.

Regards
Stefan

www.delphi-online.at

Replies:

www.cryer.info
Managed Newsgroup Archive