Can I get RTTI from an interface reference???
Can I get RTTI from an interface reference???
How to implement this function?
function GetRttiFromInterface(AIntf: IInterface; out RttiType: TRttiType): Boolean;
https://drive.google.com/open?id=0BwdfodaqQm4pU2lVY0phenJDUjQ
https://drive.google.com/open?id=0BwdfodaqQm4pU2lVY0phenJDUjQ
How to implement this function?
function GetRttiFromInterface(AIntf: IInterface; out RttiType: TRttiType): Boolean;
https://drive.google.com/open?id=0BwdfodaqQm4pU2lVY0phenJDUjQ
https://drive.google.com/open?id=0BwdfodaqQm4pU2lVY0phenJDUjQ
Asbjørn Heid Thanks anyway.
ReplyDeleteBig Banng The issue is that by the time you only got an IInterface you don't have that much to go on. It's basically just a pointer to a VMT table.
ReplyDeleteI solved the problem. :)
ReplyDeleteHere is my code:
http://stackoverflow.com/questions/39584234/how-to-obtain-rtti-from-an-interface-reference-in-delphi/39633220#39633220