[fpc-devel] streaming readonly properties

Vincent Snijders vsnijders at quicknet.nl
Mon Dec 11 16:40:09 CET 2006


Aleš Katona schreef:
> Hi, I recently changed TReader and TWriter to be delphi compatible (they
> were missing a virtual "read" and a virtual "write".
> 
> It might be related, best idea is to see if all TWriter/TReader
> descendants which add "read" and "write" have them use override.
> 
> As for the concrete problem.. not sure if it's truly related or not bug
> I guess RTTI did change.

No, your changes are made after the bug report, so they are not the cause of the 
bug, at most the cause the problem I see now, but not likely.

> 
> PS: I did fix TDelphiReader and TDelphiWriter to override but didn't
> find any other direct descendants in RTL/FCL/LCL by grep (I admit it's
> not the way to search for them).

The TLRSObjectReader inherits from TAbstractObjectReader and has a
	procedure Read(var Buf; Count: LongInt);
Would that be affected by your patch?

Vincent



More information about the fpc-devel mailing list