I just said:
> Ben Taylor asked the interesting question:
>
> > does anyone have ideas on how to generate (at runtime)
> > a list of procedure names in an object?
>
> The only way to achive this is to pull the VMT apart by grabbing the
> VMT.MethodTable pointer and doing some funky pointer and string
> processing to get the list of addresses and method names.
I should add that this only extracts the names and pointers to virtual
methods. You can also extract information about dynamic and message
methods, but I know of no way to extract the address of static methods
baring using a copy of a linker map file to relocate the entry points at
run time.
Cheers, Max.
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz