I’ve just had to build new VM for a Delphi 10.4 application - probably the first time I have had to touch it in a couple of years. I have installed the latest RO but now get an error when I call
FYI, the procedure I am using is the standalone ObjectToStream(anObject: TROComplexType; Dest: TStream) and StreamToObject in uROSerializer. This creates a TROStreamSerializer but doesn’t set the MaxStringSize. In turn this eventually calls TROStreamSerializer.WriteLegacyString which tests for (MaxStringSize <> -1).
As it’s marked as Default perhaps it should be set in the Create method?