Click here to Skip to main content
15,887,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Showing and hiding Pin
vikas amin11-Nov-05 23:00
vikas amin11-Nov-05 23:00 
AnswerRe: Showing and hiding Pin
Rajesh R Subramanian13-Nov-05 21:39
professionalRajesh R Subramanian13-Nov-05 21:39 
Questionproblem using ADO with C++ Pin
Herr_Ernst11-Nov-05 13:15
Herr_Ernst11-Nov-05 13:15 
AnswerRe: problem using ADO with C++ Pin
Herr_Ernst11-Nov-05 13:33
Herr_Ernst11-Nov-05 13:33 
QuestionMDI Application Pin
masnu11-Nov-05 12:10
masnu11-Nov-05 12:10 
AnswerRe: MDI Application Pin
Cool Ju13-Nov-05 22:31
Cool Ju13-Nov-05 22:31 
GeneralRe: MDI Application Pin
masnu14-Nov-05 2:56
masnu14-Nov-05 2:56 
Questionwhy this is not called? CMyDoc::Serialize(CMyArchive& ar) Pin
lucy11-Nov-05 10:39
lucy11-Nov-05 10:39 
In my SDI project in VC6.0, I want to derive a class from CArchive(), which will have two new methods:
WriteFormatString( ) and ReadFormatString( )
which basically follow the printf and scanf style.

so I have this included in MyDoc.h:
#include "MyArchive.h"

and in the same file, changed
virtual void Serialize(CArchive& ar);
to
virtual void Serialize(CMyArchive& ar);

In MyDoc.cpp,
I changed
void CMyDoc::Serialize(CArchive& ar)
to
void CMyDoc::Serialize(CMyArchive& ar)

But when I click on open or save menu items,
void CMyDoc::Serialize(CMyArchive& ar)
is not called.

What am I missing here?

Thank you very much for your help!
AnswerRe: why this is not called? CMyDoc::Serialize(CMyArchive& ar) Pin
Cool Ju13-Nov-05 22:52
Cool Ju13-Nov-05 22:52 
GeneralRe: why this is not called? CMyDoc::Serialize(CMyArchive& ar) Pin
lucy14-Nov-05 9:07
lucy14-Nov-05 9:07 
AnswerRe: why this is not called? CMyDoc::Serialize(CMyArchive& ar) Pin
Cool Ju14-Nov-05 16:53
Cool Ju14-Nov-05 16:53 
GeneralRe: why this is not called? CMyDoc::Serialize(CMyArchive& ar) Pin
lucy15-Nov-05 3:44
lucy15-Nov-05 3:44 
QuestionSelective iterator over STL vector. Pin
Maximilien11-Nov-05 10:08
Maximilien11-Nov-05 10:08 
AnswerRe: Selective iterator over STL vector. Pin
Chris Losinger11-Nov-05 10:27
professionalChris Losinger11-Nov-05 10:27 
AnswerRe: Selective iterator over STL vector. Pin
S. Senthil Kumar11-Nov-05 23:24
S. Senthil Kumar11-Nov-05 23:24 
GeneralRe: Selective iterator over STL vector. Pin
Jeremy Thornton12-Nov-05 5:39
Jeremy Thornton12-Nov-05 5:39 
Questionthe knight's tour, solution in cpp Pin
codologyst11-Nov-05 9:06
codologyst11-Nov-05 9:06 
AnswerRe: the knight's tour, solution in cpp Pin
Maximilien11-Nov-05 9:29
Maximilien11-Nov-05 9:29 
QuestionFindFirstPrinterChangeNotification fails on XP laptop. Pin
Flit11-Nov-05 7:35
Flit11-Nov-05 7:35 
QuestionRe: FindFirstPrinterChangeNotification fails on XP laptop. Pin
David Crow11-Nov-05 8:44
David Crow11-Nov-05 8:44 
AnswerRe: FindFirstPrinterChangeNotification fails on XP laptop. Pin
Flit11-Nov-05 19:38
Flit11-Nov-05 19:38 
AnswerRe: FindFirstPrinterChangeNotification fails on XP laptop. Pin
Graham Bradshaw11-Nov-05 8:53
Graham Bradshaw11-Nov-05 8:53 
GeneralRe: FindFirstPrinterChangeNotification fails on XP laptop. Pin
Flit11-Nov-05 20:01
Flit11-Nov-05 20:01 
QuestionNavigate2 issue Pin
Hans Ruck11-Nov-05 6:56
Hans Ruck11-Nov-05 6:56 
AnswerRe: Navigate2 issue Pin
ThatsAlok13-Nov-05 18:08
ThatsAlok13-Nov-05 18:08 

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.