Crash or Unexpected quit: how to reload the data/file(s) ?

  1. 2 weeks ago

    Emile S

    Apr 12 Europe (France, Strasbourg)

    Earlier today, I was reading a file in a Xojo created application, and some hours later, I had a crash (not Xojo related).

    At reboot time, Firefox launched and it displays the open windows (and tabs) contents.

    While dinning, I was asking myself that my application does not do that at all and I do not have an idea on how to achive that goal.

    All ideas are welcome (Linux, macOS, Windows) ;)

  2. Dave S

    Apr 12 San Diego, California USA
    Edited 2 weeks ago

    when you OPEN the file, save the meta data about the file (location etc)
    when you CLOSE the APP, destory that saved meta data
    when you OPEN the APP, check if that meta data exists, if so, you crashed and can recover using that meta data
    if the app had closed normally that meta data doesn't exist

  3. Beatrix W

    Apr 13 Pre-Release Testers Europe (Germany)

    @David Sisemore: are you talking to a ghost nowadays?

  4. Emile S

    Apr 13 Europe (France, Strasbourg)

    @Dave: thank you for the answer. It open ideas.
    Nothing OS related ?

  5. @Emile S — Well macOS implements such functions but Xojo does not make them available !

  6. Dave S

    Apr 13 San Diego, California USA

    @Beatrix W @David Sisemore: are you talking to a ghost nowadays?

    Not sure what you mean by that?

  7. Beatrix W

    Apr 13 Pre-Release Testers Europe (Germany)

    @Dave Sisemore: something has changed when blocking a person.

  8. Tim P

    Apr 13 Pre-Release Testers Austin, TX

    @Beatrix W @Dave Sisemore: something has changed when blocking a person.

    You can use private browsing to read threads from people you've ignored to get context. Not at all a requirement, just passing the tip :)

  9. Norman P

    Apr 13 Pre-Release Testers, Xojo Pro Enjoying Whistler BC

    unless its a beta only thread you sign out and can read everything even from folks you've ignored

or Sign Up to reply!