[fpc-pascal] All methods vitrual ?
Sven Barth
pascaldragon at googlemail.com
Tue Oct 10 22:24:22 CEST 2023
Am 10.10.2023 um 11:01 schrieb Adriaan van Os via fpc-pascal:
> Sven Barth via fpc-pascal wrote:
>
>> No. Only those in the published section are part of the vMethodTable.
>> And when compiled with $M+ the default visibility is changed from
>> public to published.
>
> Also, I can get a list of the interfaces inherited from by a class, by
> looking at the vIntfTable of the VMT of the class. But is there also a
> way to get the method names from a CORBA interface ?
CORBA or raw interfaces don't have RTTI generation enabled. And even
then the (COM) interfaces also need to have been parsed with $M enabled.
Regards,
Sven
More information about the fpc-pascal
mailing list