[fpc-devel] Newbie question: how does the compiler know the class type of an object ( the Is operator)

Sven Barth pascaldragon at googlemail.com
Fri Aug 22 22:24:27 CEST 2014

On 22.08.2014 20:54, Ewald wrote:
> Also, to get a better idea of the size of a TObject in memory,
> SizeOf(TVmt) will get you started?

SizeOf(TVmt) will not help, because each class instance of a specific 
class has only a pointer to the shared Vmt (thus a PVmt).


More information about the fpc-devel mailing list