We have an application that stores project information in a file in descending order from TPersistent. We use TSteam.ReadComponentRes to read from the stream to the object.
We would like to be able to open project files with unknown properties (from newer versions or other development branches of our application). This currently causes an exception in the TReader that is created by TStream. We looked at the possibility of creating a streaming descendant of TStream, which uses a Treader descendant, which handles this exception and does not stop reading. Can anyone think of a more elegant way of doing this?
source share