Click here to Skip to main content
15,918,193 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: a really simple question (i think) Pin
Prem Kumar30-May-02 5:09
Prem Kumar30-May-02 5:09 
GeneralRe: a really simple question (i think) Pin
Paul M Watt30-May-02 5:29
mentorPaul M Watt30-May-02 5:29 
GeneralRe: a really simple question (i think) Pin
vb_200230-May-02 5:54
vb_200230-May-02 5:54 
GeneralRe: a really simple question (i think) Pin
Paul M Watt30-May-02 7:05
mentorPaul M Watt30-May-02 7:05 
GeneralRe: a really simple question (i think) Pin
wqw31-May-02 2:23
wqw31-May-02 2:23 
GeneralRe: a really simple question (i think) Pin
Roger Allen30-May-02 5:57
Roger Allen30-May-02 5:57 
GeneralSerialization woes Pin
benjymous30-May-02 5:01
benjymous30-May-02 5:01 
GeneralRe: Serialization woes Pin
Prem Kumar30-May-02 5:15
Prem Kumar30-May-02 5:15 
No stead fast solution for this, because you dont know
what object's data you are going to read next and the object
might not exist in the program till then and has to be created.

What i would do is read in thru the base and then check for the
type of object based on the information just read in and then
create the derived class object.

You could have a member which would store a code which signifies
which class type does it belongs to!
GeneralRe: Serialization woes Pin
Ravi Bhavnani30-May-02 9:20
professionalRavi Bhavnani30-May-02 9:20 
GeneralRe: Serialization woes Pin
jbarton30-May-02 10:06
jbarton30-May-02 10:06 
GeneralRe: Serialization woes Pin
benjymous30-May-02 11:23
benjymous30-May-02 11:23 
GeneralRe: Serialization woes Pin
benjymous30-May-02 22:28
benjymous30-May-02 22:28 
GeneralThreads Pin
Nnamdi Onyeyiri30-May-02 4:57
Nnamdi Onyeyiri30-May-02 4:57 
GeneralRe: Threads Pin
Roger Allen30-May-02 5:01
Roger Allen30-May-02 5:01 
GeneralRe: Threads Pin
Nnamdi Onyeyiri30-May-02 5:20
Nnamdi Onyeyiri30-May-02 5:20 
GeneralRe: Threads Pin
Ernest Laurentin30-May-02 5:26
Ernest Laurentin30-May-02 5:26 
GeneralRe: Threads Pin
Nnamdi Onyeyiri30-May-02 5:31
Nnamdi Onyeyiri30-May-02 5:31 
GeneralRe: Threads Pin
Ernest Laurentin30-May-02 6:10
Ernest Laurentin30-May-02 6:10 
GeneralRe: Threads Pin
Bill Wilson30-May-02 11:56
Bill Wilson30-May-02 11:56 
GeneralRe: Threads Pin
Prem Kumar30-May-02 5:10
Prem Kumar30-May-02 5:10 
Questionhow to get Column count of a List Control Pin
hex30-May-02 4:21
hex30-May-02 4:21 
AnswerRe: how to get Column count of a List Control Pin
Ernest Laurentin30-May-02 4:47
Ernest Laurentin30-May-02 4:47 
AnswerRe: how to get Column count of a List Control Pin
Michael P Butler30-May-02 5:10
Michael P Butler30-May-02 5:10 
QuestionHow to intantiate an Acrobat Writer App Pin
30-May-02 3:30
suss30-May-02 3:30 
AnswerRe: How to intantiate an Acrobat Writer App Pin
Navin30-May-02 6:45
Navin30-May-02 6:45 

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.