On Sun, 15 Aug 2004 00:20:47 +0200 Florian Klaempfl [EMAIL PROTECTED]
wrote:
Jonas Maebe wrote:
On 14 aug 2004, at 21:07, Mattias Gaertner wrote:
The GetOrdProp is used to read boolean values. It reads a longint and
applies and $ff to get only the lowest byte. Under PowerPC the
Jonas Maebe wrote:
On 15 aug 2004, at 00:20, Florian Klaempfl wrote:
To me, the fact that it always reads a longint regardless of the size
of the property seems to be inherently wrong. What if the last field
of a class is a byte? Then you can read past the end of the class,
possibly into
On Sat, 14 Aug 2004 20:46:30 +0200 Mattias Gaertner
[EMAIL PROTECTED] wrote:
I found a bug in the RTTI under powerpc.
Boolean properties stored in fields
(e.g. properrty MyBoolean: boolean read FMyBoolean)
always returns false.
The GetOrdProp is used to read boolean values. It reads
On 14 aug 2004, at 21:07, Mattias Gaertner wrote:
The GetOrdProp is used to read boolean values. It reads a longint and
applies and $ff to get only the lowest byte. Under PowerPC the
boolean
value is stored just like under i386 in the first byte. Reading the
longint under i386 works, but of