Answer the question
In order to leave comments, you need to log in
Delphi what methods will get into RTTI?
Good afternoon!
I'm interested in the principles by which methods are submitted to RTTI. We are talking about the "old" RTTI (before Delphi 2010 or in the current FPC). As far as I understand at the moment, all fields from the published section should get into RTTI, apparently this is not the case.
Now there is a code:
{$M+}
TMyClass = class
published
procedure testfn(a,b,c: Integer);
end;
{$M-}
...
GetPropInfo(TMyClass, 'testfn'); // возвращает nil
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question