BioBytes Messages: 307 Registered: October 2008 Location: France
Senior Member
Hi all of you,
I tried to save report on disque via serialization and I face an issue with reading the file from the disk. I succeeded to write via fileout but when my application tries to read it using FileIn I get an Assertion failure in Core.h.
I join the code used in my application
I would be grateful if somebody could advice me on what is wrong.
I tried to save report on disque via serialization and I face an issue with reading the file from the disk. I succeeded to write via fileout but when my application tries to read it using FileIn I get an Assertion failure in Core.h.
I join the code used in my application
I would be grateful if somebody could advice me on what is wrong.
Thanking in advance for your help
Kind regards
Biobytes
Well, for starters, const Array<Drawing>& is returned. You should not be writing to it.
There is unfortnunately on "impedance mismatch" with C++ standard which in this case bites you - that const Array gets destroyed by "pick".
BioBytes Messages: 307 Registered: October 2008 Location: France
Senior Member
Hello Mirek,
Thank you very much for your advice and now all is working perfectly well in my application. I can now save and read my reports. UPP is really a great development tool.
I am a newer to C++ as I come from Delphi and Eclipse worlds.