Click here to Skip to main content
15,888,169 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Precompiled header error [modified] Pin
Jay0325-Jul-06 9:58
Jay0325-Jul-06 9:58 
AnswerRe: Precompiled header error Pin
Zac Howland25-Jul-06 10:02
Zac Howland25-Jul-06 10:02 
GeneralRe: Precompiled header error Pin
Jay0325-Jul-06 10:15
Jay0325-Jul-06 10:15 
QuestionDirectShow filter problem Pin
DobosCake25-Jul-06 5:38
DobosCake25-Jul-06 5:38 
AnswerRe: DirectShow filter problem Pin
cje26-Jul-06 10:53
cje26-Jul-06 10:53 
QuestionIMPLEMENT_SERIAL and MFC static linking Pin
bob1697225-Jul-06 5:13
bob1697225-Jul-06 5:13 
QuestionRe: IMPLEMENT_SERIAL and MFC static linking Pin
David Crow25-Jul-06 6:33
David Crow25-Jul-06 6:33 
AnswerRe: IMPLEMENT_SERIAL and MFC static linking Pin
bob1697225-Jul-06 7:24
bob1697225-Jul-06 7:24 
I probably should have said bottomost instead of "topmost". It is in the last derived class for clarification.

The base class has virtual functions, a class is derived from it. It has some virtual functions and it's serialization procedure calls the base class first, then it serializes itself. A class is then derived from that and provides implementations for all the virtual functions and it calls the immediate base class serialization method and then it's own. This last class is the only class that has the IMPLEMENT_SERIAL and DECLARE_SERIAL macros.

The serialization process was tested incrementally long ago as it was being built. It preserved all the fields being serialized on the stream. It is doing so today when using "shared" MFC. I was just trying to put it together for deployment and instead of redistributing the MFC 7.1 merge modules (.msm) in my MSI, I thought I'd try something different and statically link MFC in but hence, the errors jumped out. That is where I'm at now.

I may have some fundamental flaw in all of that but it "appears" to work as it always has when using MFC in a shared dll(s). I'm just checking here to see if it's commonplace to statically link, with an application that uses MFC serialization, and not have any problems or whether it's some common mistake that everyone (except me) knows about.

I'm not sure if that helps but wasn't not quite sure what you were getting at...
AnswerRe: IMPLEMENT_SERIAL and MFC static linking Pin
bob1697225-Jul-06 7:53
bob1697225-Jul-06 7:53 
AnswerRe: IMPLEMENT_SERIAL and MFC static linking [modified] Pin
Viorel.25-Jul-06 7:15
Viorel.25-Jul-06 7:15 
GeneralRe: IMPLEMENT_SERIAL and MFC static linking Pin
bob1697225-Jul-06 7:32
bob1697225-Jul-06 7:32 
GeneralRe: IMPLEMENT_SERIAL and MFC static linking Pin
Viorel.25-Jul-06 7:46
Viorel.25-Jul-06 7:46 
GeneralRe: IMPLEMENT_SERIAL and MFC static linking [modified] Pin
bob1697225-Jul-06 7:51
bob1697225-Jul-06 7:51 
QuestionE-mail processing Pin
Daniel Kanev25-Jul-06 4:31
Daniel Kanev25-Jul-06 4:31 
AnswerRe: E-mail processing Pin
Zac Howland25-Jul-06 4:57
Zac Howland25-Jul-06 4:57 
AnswerRe: E-mail processing Pin
Jim Crafton25-Jul-06 5:04
Jim Crafton25-Jul-06 5:04 
AnswerRe: E-mail processing Pin
David Crow25-Jul-06 6:29
David Crow25-Jul-06 6:29 
AnswerRe: E-mail processing Pin
ThatsAlok25-Jul-06 20:33
ThatsAlok25-Jul-06 20:33 
QuestionErrors: Pin
Ganesh_T25-Jul-06 4:15
Ganesh_T25-Jul-06 4:15 
QuestionRe: Errors: Pin
David Crow25-Jul-06 4:22
David Crow25-Jul-06 4:22 
Questionanimated image transition Pin
houari_id25-Jul-06 4:14
houari_id25-Jul-06 4:14 
AnswerRe: animated image transition Pin
Hamid_RT27-Jul-06 6:02
Hamid_RT27-Jul-06 6:02 
QuestionFile streaming problem Pin
gajendrakashyap25-Jul-06 4:03
gajendrakashyap25-Jul-06 4:03 
AnswerRe: File streaming problem Pin
earl25-Jul-06 4:12
earl25-Jul-06 4:12 
GeneralRe: File streaming problem Pin
Cedric Moonen25-Jul-06 4:16
Cedric Moonen25-Jul-06 4:16 

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.