[fpc-pascal] TStream ReadComponent

Leonardo M. Ramé martinrame at yahoo.com
Fri Mar 20 22:56:01 CET 2009


Hi, I'm trying to read a file stream created using TMemoryStream's WriteComponent method with a Delphi 7 program. To read the component I use TMemoryStream's ReadComponent method.

When I read use ReadCompoent, a EReadError is raised. Does anyone tried this?. The same program works perfectly in Delphi.

Leonardo.


      



More information about the fpc-pascal mailing list