[fpc-pascal] defining record at runtime

Marc Santhoff M.Santhoff at t-online.de
Wed Sep 26 05:25:08 CEST 2007


Am Dienstag, den 25.09.2007, 19:59 -0700 schrieb Leonardo M. RamX:
> An aproximation of what you want to accomplish is the usage of classes
> (descendants of
> TPersistent) with published properties accesed using RTTI. The
> "visible" fields you want to access
> are these published properties, all other information and methods
> can't be accessed using RTTI.

I know, but since I need flat memory stroage structures this is not an
option. And since there are no guarantees about internals I can't use
the fact that objects are stored like records + VMT.

I will use this approach at a higher level, I think.

Thanks for pointing out,
Marc





More information about the fpc-pascal mailing list