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? Regards Michael_______________________________________________ fpc-pascal maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
