Click here to Skip to main content
15,914,074 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Classes and dlls Pin
Zac Howland18-Aug-06 6:12
Zac Howland18-Aug-06 6:12 
GeneralRe: Classes and dlls Pin
Waldermort18-Aug-06 7:02
Waldermort18-Aug-06 7:02 
AnswerRe: Classes and dlls Pin
David Crow18-Aug-06 6:24
David Crow18-Aug-06 6:24 
GeneralRe: Classes and dlls Pin
Waldermort18-Aug-06 7:12
Waldermort18-Aug-06 7:12 
GeneralRe: Classes and dlls Pin
David Crow18-Aug-06 7:37
David Crow18-Aug-06 7:37 
GeneralRe: Classes and dlls Pin
Tim Smith19-Aug-06 14:17
Tim Smith19-Aug-06 14:17 
Questionserialized objects conversion question Pin
toxcct18-Aug-06 5:02
toxcct18-Aug-06 5:02 
AnswerRe: serialized objects conversion question Pin
Zac Howland18-Aug-06 5:20
Zac Howland18-Aug-06 5:20 
toxcct wrote:
the fact that app v2.0 doesn't read files of v1.0 is normal behavior (it is not supposed to recognize the version of the serialized object).


That is an odd requirement. Typically, backwards compatibility is a desirable feature, and something that is not backwards compatible is not desirable.

MFC provides the schema version when you are serializing objects. Typically, you just check the schema before you read the data and then use the correct version of the read operation (the write operation is always done with your most up-to-date version, so that doesn't matter).

If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac

GeneralRe: serialized objects conversion question Pin
toxcct20-Aug-06 21:24
toxcct20-Aug-06 21:24 
QuestionRe: serialized objects conversion question Pin
Zac Howland21-Aug-06 3:39
Zac Howland21-Aug-06 3:39 
AnswerRe: serialized objects conversion question Pin
toxcct21-Aug-06 3:41
toxcct21-Aug-06 3:41 
GeneralRe: serialized objects conversion question Pin
Zac Howland21-Aug-06 3:45
Zac Howland21-Aug-06 3:45 
GeneralRe: serialized objects conversion question Pin
toxcct21-Aug-06 3:53
toxcct21-Aug-06 3:53 
GeneralRe: serialized objects conversion question Pin
Zac Howland21-Aug-06 4:10
Zac Howland21-Aug-06 4:10 
AnswerRe: serialized objects conversion question Pin
Ravi Bhavnani19-Aug-06 15:50
professionalRavi Bhavnani19-Aug-06 15:50 
GeneralRe: serialized objects conversion question Pin
toxcct20-Aug-06 21:27
toxcct20-Aug-06 21:27 
GeneralRe: serialized objects conversion question Pin
Ravi Bhavnani21-Aug-06 1:24
professionalRavi Bhavnani21-Aug-06 1:24 
GeneralRe: serialized objects conversion question Pin
toxcct21-Aug-06 2:15
toxcct21-Aug-06 2:15 
GeneralRe: serialized objects conversion question Pin
Ravi Bhavnani21-Aug-06 2:26
professionalRavi Bhavnani21-Aug-06 2:26 
GeneralRe: serialized objects conversion question Pin
toxcct21-Aug-06 2:36
toxcct21-Aug-06 2:36 
GeneralRe: serialized objects conversion question Pin
Ravi Bhavnani21-Aug-06 3:17
professionalRavi Bhavnani21-Aug-06 3:17 
GeneralRe: serialized objects conversion question Pin
toxcct21-Aug-06 3:23
toxcct21-Aug-06 3:23 
GeneralRe: serialized objects conversion question Pin
Ravi Bhavnani21-Aug-06 3:32
professionalRavi Bhavnani21-Aug-06 3:32 
QuestionComboBox background problem in CPropertySheet wizard Pin
ewanb18-Aug-06 4:52
ewanb18-Aug-06 4:52 
Questionnot using the UNICODE libs in VS 2005 Pin
Kleser18-Aug-06 4:11
Kleser18-Aug-06 4:11 

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.