Re: [fpc-pascal] Typinfo incompatibilities between FPC and Delphi

2014-06-09 Thread Maciej Izak
> I have the feeling that the introduction of dynamic packages in FPC *will* > require us to change our current RTTI from PTypeInfo to PPTypeInfo... :/ > > Regards, > Sven > So better to do it earlier rather than later ;P Regards, Maciej Izak (hnb) ___

Re: [fpc-pascal] Typinfo incompatibilities between FPC and Delphi

2014-06-09 Thread Sven Barth
On 31.05.2014 15:45, Marco van de Voort wrote: In our previous episode, Maciej Izak said: By Barry Kelly in comment :) : http://stackoverflow.com/questions/3443097/what-is-the-identity-pointer-before-a-ttypeinfo-there-for "all typeinfo fixups - pointers from one blob of typeinfo to another - a

Re: [fpc-pascal] Typinfo incompatibilities between FPC and Delphi

2014-06-09 Thread Sven Barth
On 08.06.2014 17:03, Graeme Geldenhuys wrote: I've also introduced an enhanced GetPropInfo() with a signature as follows: function tiGetPropInfo(AClass: TClass; PropPath: string; PInstance: Pointer): PPropInfo; Might also profit from a declaration as "inline" :) This one might not work as

Re: [fpc-pascal] Compiler error passing a Property as a parameter

2014-06-09 Thread Vincent Snijders
2014-06-08 21:50 GMT+02:00 Graeme Geldenhuys : > Hi, > > I think it was FPC 2.6.0 that changed the language rules about > Properties. You can't pass them directly as a var parameter, can't > assign to a property of a property etc. > > Anyway, somebody recently asked my why this was implemented, a