On Sat, 16 Jul 2011, Michael Müller wrote:
Hi, in rtl\objpas\classes\classesh.inc TStringStream is derived from TStream. It seems there was a time when this was valid: http://delphi.wikia.com/wiki/TStringStream_Class. But in Delphi (at least 2009 and higher) TStringStream derives from TBytesStream which derives from TMemoryStream: http://docwiki.embarcadero.com/VCL/de/Classes.TStringStream. TBytesStream is not implemented in FPC but TMemoryStream so it should derive at least from TMemoryStream instead of TStream. In my code I could switch to TMemoryStream instead of TStringStream to compile it both under Delphi and FPC. Shall I add a bug tracker item?
Please do.But I don't think it will be implemented before the unicode string is finished, because that is the reason Borland made the change.
Michael.
_______________________________________________ fpc-pascal maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
