Click here to Skip to main content
15,917,859 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSaving/creating and Loading files Pin
Kayembi6-Aug-03 1:06
Kayembi6-Aug-03 1:06 
GeneralRe: Saving/creating and Loading files Pin
Dangleberry6-Aug-03 1:16
sussDangleberry6-Aug-03 1:16 
GeneralRe: Saving/creating and Loading files Pin
lawrence20006-Aug-03 3:13
lawrence20006-Aug-03 3:13 
GeneralRe: Saving/creating and Loading files Pin
David Crow6-Aug-03 3:19
David Crow6-Aug-03 3:19 
GeneralRe: Saving/creating and Loading files Pin
Kayembi6-Aug-03 4:06
Kayembi6-Aug-03 4:06 
GeneralRe: Saving/creating and Loading files Pin
David Crow6-Aug-03 4:18
David Crow6-Aug-03 4:18 
GeneralRe: Saving/creating and Loading files Pin
Kayembi6-Aug-03 4:45
Kayembi6-Aug-03 4:45 
GeneralRe: Saving/creating and Loading files Pin
David Crow6-Aug-03 4:57
David Crow6-Aug-03 4:57 
Kayembi wrote:
The main reason I want to do it is that there is information in there that, if changed, will definitely cause the program to crash, or at least behave oddly. This is probably bad design again...

A well-behaved app would indeed not crash, but should instead detect when "bad data" is present and respond accordingly. For example, if you were storing the window coordinates of the app when it was last shut down (t=0, r=1024, b=768, l=0) so that it could be positioned in the same spot next time, and someone changed those coordinates to something non-sense (t=768, r=1024, b=0, l=0), the app would know to correct the problem, or use some default values at the very least.
GeneralRe: Saving/creating and Loading files Pin
Kayembi6-Aug-03 5:27
Kayembi6-Aug-03 5:27 
GeneralTimer Callback Pin
LittleYellowBird6-Aug-03 0:31
LittleYellowBird6-Aug-03 0:31 
GeneralRe: Timer Callback Pin
Member 4242596-Aug-03 0:41
Member 4242596-Aug-03 0:41 
GeneralRe: Timer Callback Pin
Member 4242596-Aug-03 0:42
Member 4242596-Aug-03 0:42 
GeneralRe: Timer Callback Pin
LittleYellowBird6-Aug-03 1:12
LittleYellowBird6-Aug-03 1:12 
GeneralRe: Timer Callback Pin
ivor bigun6-Aug-03 0:58
ivor bigun6-Aug-03 0:58 
GeneralRe: Timer Callback Pin
LittleYellowBird6-Aug-03 1:09
LittleYellowBird6-Aug-03 1:09 
GeneralRe: Timer Callback Pin
ivor bigun6-Aug-03 1:08
ivor bigun6-Aug-03 1:08 
GeneralRe: Timer Callback Pin
Ryan Binns6-Aug-03 1:11
Ryan Binns6-Aug-03 1:11 
GeneralRe: Timer Callback Pin
ivor bigun6-Aug-03 1:31
ivor bigun6-Aug-03 1:31 
GeneralRe: Timer Callback Pin
Phil Speller6-Aug-03 1:53
Phil Speller6-Aug-03 1:53 
GeneralRe: Timer Callback Pin
LittleYellowBird6-Aug-03 2:09
LittleYellowBird6-Aug-03 2:09 
GeneralRe: Timer Callback Pin
LittleYellowBird6-Aug-03 2:12
LittleYellowBird6-Aug-03 2:12 
GeneralRe: Timer Callback Pin
Ryan Binns6-Aug-03 2:19
Ryan Binns6-Aug-03 2:19 
GeneralRe: Timer Callback Pin
Phil Speller6-Aug-03 3:04
Phil Speller6-Aug-03 3:04 
GeneralRe: Timer Callback Pin
Vitali Halershtein6-Aug-03 2:49
Vitali Halershtein6-Aug-03 2:49 
GeneralRe: Timer Callback Pin
Ryan Binns6-Aug-03 4:19
Ryan Binns6-Aug-03 4:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.