Click here to Skip to main content
15,923,689 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhat did I get in the call stack??? Pin
Chaos Lawful2-Oct-01 2:16
Chaos Lawful2-Oct-01 2:16 
GeneralMultiprocessor resources/Realtime Pin
Stan the man2-Oct-01 2:05
Stan the man2-Oct-01 2:05 
GeneralJust a question on WININET Pin
Chaos Lawful2-Oct-01 2:05
Chaos Lawful2-Oct-01 2:05 
GeneralGetting rid of the title bar Pin
Stan the man2-Oct-01 1:58
Stan the man2-Oct-01 1:58 
GeneralRe: Getting rid of the title bar Pin
2-Oct-01 8:21
suss2-Oct-01 8:21 
GeneralCListCtrl Refreshing Pin
AJ1232-Oct-01 0:54
AJ1232-Oct-01 0:54 
GeneralRe: CListCtrl Refreshing Pin
Tommy H D Svensson8-Nov-01 23:06
Tommy H D Svensson8-Nov-01 23:06 
Generalserialization Pin
2-Oct-01 0:51
suss2-Oct-01 0:51 
I have declared the class CMyDoc like this :
"class CMyDoc : public COleServerDoc, public CMyClass"

Definition of class CMyClass :
"class CMyClass {
protected :
double mAge;
COtherClass mOtherClass; //(not derived from a CObject
class)
}"

the serialization of members like mAge works correctly, but when I want serialize class members like mOtherClass, the compiler send me the following error :
"error C2678: binary '<<' : no operator defined which takes a left-hand operand of type 'class CArchive' (or there is no acceptable conversion)".
How can serialize such members, must I make the class COtherClass serializable ?

thank in advance for your help.

Fred.





Fred
GeneralRe: serialization Pin
Tomasz Sowinski2-Oct-01 1:28
Tomasz Sowinski2-Oct-01 1:28 
GeneralRe: serialization Pin
2-Oct-01 3:12
suss2-Oct-01 3:12 
GeneralUpdating property pages Pin
2-Oct-01 0:49
suss2-Oct-01 0:49 
GeneralRe: Updating property pages Pin
Tomasz Sowinski2-Oct-01 1:25
Tomasz Sowinski2-Oct-01 1:25 
GeneralRe: Updating property pages Pin
2-Oct-01 21:37
suss2-Oct-01 21:37 
QuestionWebBrowser alternatives? Pin
1-Oct-01 23:24
suss1-Oct-01 23:24 
Generalstack overflow Pin
1-Oct-01 23:05
suss1-Oct-01 23:05 
GeneralRe: stack overflow Pin
Tomasz Sowinski2-Oct-01 0:08
Tomasz Sowinski2-Oct-01 0:08 
GeneralRe: stack overflow Pin
2-Oct-01 0:12
suss2-Oct-01 0:12 
GeneralA question about CFtpConnection Pin
Chaos Lawful1-Oct-01 22:34
Chaos Lawful1-Oct-01 22:34 
GeneralRe: A question about CFtpConnection Pin
Michael P Butler1-Oct-01 23:01
Michael P Butler1-Oct-01 23:01 
GeneralRe: A question about CFtpConnection Pin
Chaos Lawful2-Oct-01 1:18
Chaos Lawful2-Oct-01 1:18 
GeneralAdv: How does e.g. Dr Watson hook into an exception Pin
EiSl1-Oct-01 22:13
EiSl1-Oct-01 22:13 
GeneralRe: Adv: How does e.g. Dr Watson hook into an exception Pin
Christian Graus1-Oct-01 22:30
protectorChristian Graus1-Oct-01 22:30 
GeneralRe: Adv: How does e.g. Dr Watson hook into an exception Pin
Tomasz Sowinski2-Oct-01 0:24
Tomasz Sowinski2-Oct-01 0:24 
QuestionHow to create a grid control? Pin
1-Oct-01 21:04
suss1-Oct-01 21:04 
AnswerRe: How to create a grid control? Pin
Christian Graus1-Oct-01 22:33
protectorChristian Graus1-Oct-01 22:33 

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.