I’ve got a strange problem with a stream object.
I have a table with a binary field. I’m using strongly typed classes so I have a field in my interface which is of type IROStream.
When I open a record in this table, which has data in the binary field, there’s nothing in the stream at all. I can inspect the Stream property of the IROStream and it is indeed of type TMemoryStream but the stream itself is totally empty, showing NIL for the memory property and zero for size. All other fields are loading fine.
What could be causing this?