Click here to Skip to main content
15,894,180 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Question about MFC implementation Pin
pasztorpisti24-Sep-12 15:23
pasztorpisti24-Sep-12 15:23 
GeneralRe: Question about MFC implementation Pin
Jian Jun Liu26-Sep-12 16:59
Jian Jun Liu26-Sep-12 16:59 
AnswerRe: Question about MFC implementation Pin
Chris Meech23-Sep-12 4:57
Chris Meech23-Sep-12 4:57 
GeneralRe: Question about MFC implementation Pin
pasztorpisti23-Sep-12 7:34
pasztorpisti23-Sep-12 7:34 
GeneralRe: Question about MFC implementation Pin
Chris Meech23-Sep-12 12:03
Chris Meech23-Sep-12 12:03 
Generalsource code Pin
pei0825010321-Sep-12 15:51
pei0825010321-Sep-12 15:51 
GeneralRe: source code Pin
Richard MacCutchan21-Sep-12 21:13
mveRichard MacCutchan21-Sep-12 21:13 
QuestionWhat makes C and C++ a "good" language? Pin
Brandon-X1200018-Sep-12 16:06
Brandon-X1200018-Sep-12 16:06 
AnswerRe: What makes C and C++ a "good" language? PinPopular
Richard Andrew x6418-Sep-12 16:20
professionalRichard Andrew x6418-Sep-12 16:20 
AnswerRe: What makes C and C++ a "good" language? Pin
Chris Losinger18-Sep-12 16:37
professionalChris Losinger18-Sep-12 16:37 
AnswerRe: What makes C and C++ a "good" language? Pin
Stephen Hewitt18-Sep-12 18:46
Stephen Hewitt18-Sep-12 18:46 
AnswerRe: What makes C and C++ a "good" language? PinPopular
CPallini18-Sep-12 21:27
mveCPallini18-Sep-12 21:27 
AnswerRe: What makes C and C++ a "good" language? Pin
pasztorpisti19-Sep-12 2:47
pasztorpisti19-Sep-12 2:47 
GeneralRe: What makes C and C++ a "good" language? PinPopular
Richard MacCutchan19-Sep-12 4:03
mveRichard MacCutchan19-Sep-12 4:03 
GeneralRe: What makes C and C++ a "good" language? Pin
pasztorpisti19-Sep-12 5:11
pasztorpisti19-Sep-12 5:11 
GeneralRe: What makes C and C++ a "good" language? Pin
Richard MacCutchan19-Sep-12 5:53
mveRichard MacCutchan19-Sep-12 5:53 

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.