Champak Posted April 18, 2008 Share Posted April 18, 2008 I couldn't think of another title besides "critical termination". I have an autoexit feature set up in my app to save some important data upon exiting. However, sometimes apps fail and they terminate unexpectedly; in a case like that, is there a way to still do some type of save function upon termination....or am I relegated to making some kind of autosaving feature for every 5min or something? Can I detect that unexpected/critical termination/shut down? Link to comment Share on other sites More sharing options...
Tomb Posted April 18, 2008 Share Posted April 18, 2008 I couldn't think of another title besides "critical termination". I have an autoexit feature set up in my app to save some important data upon exiting. However, sometimes apps fail and they terminate unexpectedly; in a case like that, is there a way to still do some type of save function upon termination....or am I relegated to making some kind of autosaving feature for every 5min or something? Can I detect that unexpected/critical termination/shut down?once an app crashes, saving your progress is going to be difficult. maybe you can have a second app watching the first, and reading information from the main one and keeping it as a variable. this function doesn't really relate, but i see slight similarity. _WinAPI_FatalAppExit you could always just save the information very often, so if a crash happens, the information will be iniwritten of filewritten previous to crash. Link to comment Share on other sites More sharing options...
Squirrely1 Posted April 18, 2008 Share Posted April 18, 2008 (edited) @Champak: Autosave is a great feature! @Tomb616: I'll trade you avatars... Here are the terms I am offering: 1) Your avatar is to become my property, and mine your property. 2) Neither party can use their old avatar ever again - nor even any variation of the theme in only your particular case. Edited April 18, 2008 by Squirrely1 Das Häschen benutzt Radar Link to comment Share on other sites More sharing options...
Tomb Posted April 18, 2008 Share Posted April 18, 2008 @Champak: Autosave feature - good idea !@Tomb616: I'll trade you avatars!Here are the terms I am offering:1) Your avatar is to become my property, and mine your property.2) Neither party can use their old avatar ever again - nor even any variation of the theme in only your particular case.i knew you loved my avatar. hmm those are pretty amazing terms.but i don't like your current avatar.if you get a nice one i like, we can make a trade of them.i mean your name is squirrely and its a squirrel, the similarity is apparent. Link to comment Share on other sites More sharing options...
Squirrely1 Posted April 18, 2008 Share Posted April 18, 2008 (edited) I have a sneakin' suspicion you are on to my real ageda. Okay then, same offer again, but this time I must heap praise on you in a new thread devoted to the topic of your virtue. Edited April 18, 2008 by Squirrely1 Das Häschen benutzt Radar Link to comment Share on other sites More sharing options...
Champak Posted April 18, 2008 Author Share Posted April 18, 2008 Yeah, I guess I'll just save it every 5 min. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now