Am 31.07.2010 02:06, schrieb Sergei Gorelkin: > Hello, > > I have discovered that the pointer returned by typeinfo() builtin in FPC > is very different from one returned in Delphi. What Delphi returns > points to rough equivalent of FPC's INIT$_<typename> structure, so one > may examine the structure to figure out the 'managed' fields. FPC, > however, returns pointer to RTTI$_<typename> structure, which - for > records and objects - doesn't seem to contain anything useful except the > type name. At the same time there seems to be no way to access > INIT$_<typename> information from code. > Is this a subject for bugreport?
If you've a proposal how to solve this keeping backward and delphi compatibility :) _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel