[Gambas-bugtracker] Bug #1757: Reading a struct as an object causes serialization error, Writing seems to work
bugtracker at gambaswiki.org
bugtracker at gambaswiki.org
Sat Jun 13 01:28:58 CEST 2020
http://gambaswiki.org/bugtracker/edit?object=BUG.1757&from=L21haW4-
Comment #1 by Benoît MINISINI:
When writing a structure, only the contents is written.
So you have to write : TheStruct = Read #mFile As MyStruct
Otherwise Gambas cannot know that there is a structure to read in the stream.
Benoît MINISINI changed the state of the bug to: Rejected.
More information about the Bugtracker
mailing list