I think the simple answer is that you can't use RTTI - have a look at
TypInfo.pas if you've got the source.
Interestingly, this was touched on in a recent EXE Online article
(http://www.exe.co.uk/articles/articlepull.asp?page=aug99/delphi.html).
But what can you find out with IDispatch: GetTypeInfo, GetTypeInfoCount,
GetIDsOfNames...?
Regards,
Andrew Cooke.
> -----Original Message-----
> From: Myles Penlington [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, September 13, 1999 3:16 PM
> To: Multiple recipients of list delphi
> Subject: [DUG]: RTTI on Interfaces.
>
> Has anybody (successfully) used RTTI (does it work on Interfaces) to
> information about the properties and methods of an interface?
>
> Did it work the same as on class types?
>
> Just wanted to know if anybody had any experience in using this before I
> look into it (i.e. is it a waste of time).
> I was thinking of querying interface properties in the IDE.
>
> Regards
>
> Myles Penlington
> Software Engineer
> ADVANCED MANAGEMENT SYSTEMS
>
> --------------------------------------------------------------------------
> -
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz