On 2020-02-13 11:08, Sven Barth via fpc-pascal wrote:
Kevin Monceaux <ke...@rawfeddogs.net> schrieb am Do., 13. Feb. 2020,
10:57:
.
.
I'm working my way through the Turbo Vision 2.0 Programming Guide I
found
on
Archive.org. Everything was working well, until chapter 4 - Using
streams
and resources. Saving the desktop to a stream file seemed to work,
but
when I attempt to reload it from the stream file I get a runtime error
101,
which is odd since I'm trying to read from a file, not write to a
file. It
might be functionality that's not fully implemented. And it's
something I
doubt I'd ever use, so I'm not too concerned resolving the issue.
I'll
probably just move on to chapter 5 - Creating a data entry screen,
which is
what I'm really interested in.
Is there a Free Vision mailing list, bug tracker, etc.?
There is no separate mailing list for Free Vision, so this one is fine
(and
bugs would be reported on the normal bug tracker).
I think saving and restoring streams should work as the textmode IDE
uses
that as well. Can you please provide an example that fails? Then we
might
be able to help you.
Small update - while I haven't been able to debug it fully yet, I can
confirm that there seems to be an issue resulting in a SIGSEGV while
trying to load the previously stored TDesktop (tried under Win64 and
x86_64-linux - interestingly not getting RTE101 as reported by Kevin,
but it might be due to a different target platform and/or different
version). As far as I can see, our textmode IDE uses different approach
to restoring the stream which is probably the reason why the issue isn't
triggered there.
Tomas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal