On windows you can declare SEH translator and catch all errors.

A note. Autosaved file should be saved to some temporary file because saved
data may be corrupted.


On 30 March 2010 12:39, Nick Burrett <[email protected]> wrote:

> On 30 March 2010 09:46, Chris Browet <[email protected]> wrote:
> > When the program has crashed, it's too late ;-)
> >
> > I'll implement periodic save, though.
>
> You could attach a signal handler on SIGSEGV to do the auto-save of the
> data.
>
> > - Chris -
> >
> > On Tue, Mar 30, 2010 at 07:06, Dmytro Ovdiienko <
> [email protected]>
> > wrote:
> >>
> >> Hello,
> >>
> >> Could you please add option to autosave changes to some file before
> crash?
> >> Thanks.
> >> Dima
> >>
> >> _______________________________________________
> >> Merkaartor mailing list
> >> [email protected]
> >> http://lists.openstreetmap.org/listinfo/merkaartor
> >>
> >
> >
> > _______________________________________________
> > Merkaartor mailing list
> > [email protected]
> > http://lists.openstreetmap.org/listinfo/merkaartor
> >
> >
>
> _______________________________________________
> Merkaartor mailing list
> [email protected]
> http://lists.openstreetmap.org/listinfo/merkaartor
>



-- 
Dmytro Ovdiienko
e-mail: [email protected]
skype: [email protected]
mobile: +38050-1909731
_______________________________________________
Merkaartor mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/merkaartor

Reply via email to