Click here to Skip to main content
15,906,463 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCppunit in Visual studio 2010 Pin
Rahul from Poona24-Sep-12 4:44
Rahul from Poona24-Sep-12 4:44 
AnswerRe: Cppunit in Visual studio 2010 Pin
Chris Meech24-Sep-12 5:56
Chris Meech24-Sep-12 5:56 
AnswerRe: Cppunit in Visual studio 2010 Pin
Albert Holguin24-Sep-12 6:43
professionalAlbert Holguin24-Sep-12 6:43 
AnswerRe: Cppunit in Visual studio 2010 Pin
jschell24-Sep-12 12:39
jschell24-Sep-12 12:39 
QuestionLate Binding Concept Pin
AmbiguousName23-Sep-12 20:30
AmbiguousName23-Sep-12 20:30 
AnswerRe: Late Binding Concept Pin
CPallini23-Sep-12 22:27
mveCPallini23-Sep-12 22:27 
AnswerRe: Late Binding Concept Pin
Richard MacCutchan23-Sep-12 23:05
mveRichard MacCutchan23-Sep-12 23:05 
QuestionRe: Late Binding Concept Pin
CPallini23-Sep-12 23:58
mveCPallini23-Sep-12 23:58 
AnswerRe: Late Binding Concept Pin
Richard MacCutchan24-Sep-12 0:11
mveRichard MacCutchan24-Sep-12 0:11 
AnswerRe: Late Binding Concept Pin
Richard MacCutchan23-Sep-12 23:09
mveRichard MacCutchan23-Sep-12 23:09 
AnswerRe: Late Binding Concept Pin
pasztorpisti24-Sep-12 1:09
pasztorpisti24-Sep-12 1:09 
GeneralRe: Late Binding Concept Pin
CPallini24-Sep-12 1:41
mveCPallini24-Sep-12 1:41 
GeneralRe: Late Binding Concept Pin
pasztorpisti24-Sep-12 1:46
pasztorpisti24-Sep-12 1:46 
GeneralRe: Late Binding Concept Pin
Chris Meech24-Sep-12 2:19
Chris Meech24-Sep-12 2:19 
GeneralRe: Late Binding Concept Pin
pasztorpisti24-Sep-12 2:37
pasztorpisti24-Sep-12 2:37 
AnswerRe: Late Binding Concept Pin
Chuck O'Toole24-Sep-12 5:16
Chuck O'Toole24-Sep-12 5:16 
GeneralRe: Late Binding Concept Pin
pasztorpisti24-Sep-12 6:00
pasztorpisti24-Sep-12 6:00 
GeneralRe: Late Binding Concept Pin
pasztorpisti24-Sep-12 6:19
pasztorpisti24-Sep-12 6:19 
GeneralRe: Late Binding Concept Pin
Chuck O'Toole24-Sep-12 7:53
Chuck O'Toole24-Sep-12 7:53 
QuestionCallBack Function Pin
Smart Arab23-Sep-12 4:47
Smart Arab23-Sep-12 4:47 
AnswerRe: CallBack Function Pin
Mohibur Rashid23-Sep-12 6:06
professionalMohibur Rashid23-Sep-12 6:06 
GeneralRe: CallBack Function Pin
Smart Arab24-Sep-12 1:39
Smart Arab24-Sep-12 1:39 
QuestionQuestion about MFC implementation Pin
Jian Jun Liu23-Sep-12 2:33
Jian Jun Liu23-Sep-12 2:33 
AnswerRe: Question about MFC implementation Pin
pasztorpisti23-Sep-12 3:20
pasztorpisti23-Sep-12 3:20 
I have never noticed this but partly the answer is obvious if you take a look at the name of the defined identifier after the #ifdef, its _AFXDLL. The MFC libraries can be linked statically into your executable/DLL or you can choose to be linked dynamically so that your program will depend on the existence of an mfc library dll where your program is used. It seems that they needed different macros to wire together their system in these 2 different cases but this is a tiny implementation detail inside MFC you dont have to be aware of. In general you often have to handle some problems specially when you put part of your code into a DLL, but its not important what their reason was for creating those 2 different defines because they provide the same interface for you.
GeneralRe: Question about MFC implementation Pin
Jian Jun Liu24-Sep-12 15:01
Jian Jun Liu24-Sep-12 15:01 

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.