[fpc-pascal] sizeof TTypeKind?

Ryan Joseph genericptr at gmail.com
Sat Mar 21 08:47:04 CET 2020

> On Mar 21, 2020, at 9:39 AM, Ryan Joseph via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
> I'm going to loop through the fields of the record and get the size of each
> field so I can serialize the record. Am I not on the right track?

No answers on this so I'm thinking maybe I need to use TManagedField^.FldOffset to get the information I need about the field size. Is that correct way to get the field size using record RTTI?

	Ryan Joseph

More information about the fpc-pascal mailing list