Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerMessage Removed Pin
19-Jun-12 17:49
enhzflep19-Jun-12 17:49 
GeneralRe: how to make a line in c++ Pin
Member 913892419-Jun-12 17:56
Member 913892419-Jun-12 17:56 
GeneralRe: how to make a line in c++ Pin
enhzflep19-Jun-12 18:00
enhzflep19-Jun-12 18:00 
GeneralRe: how to make a line in c++ Pin
enhzflep19-Jun-12 18:24
enhzflep19-Jun-12 18:24 
AnswerRe: how to make a line in c++ Pin
enhzflep19-Jun-12 17:50
enhzflep19-Jun-12 17:50 
AnswerRe: how to make a line in c++ Pin
Albert Holguin19-Jun-12 2:33
professionalAlbert Holguin19-Jun-12 2:33 
QuestionCompiler Question: Use of MFC : Use Standard Windows Libraries Pin
DeepT18-Jun-12 10:57
DeepT18-Jun-12 10:57 
AnswerRe: Compiler Question: Use of MFC : Use Standard Windows Libraries Pin
Binu MD18-Jun-12 14:29
Binu MD18-Jun-12 14:29 
Hi Deep,

Your understanding is almost correct. From visual studio project settings we can select 3 options "Use Standard Windows Libraries", "Use MFC in a Static Library"and "Use MFC in a Shared DLL".

The first one[Use Standard Windows Libraries] is used when we had an application or a dll that did not require MFC class or framework support. For example a console application or pure c++ libraries or a win32 application or a C application etc.

The second and third options are used where we need MFC class or framework support e.g: MFC dialog application, MFC SDI or MDI application or applications using CString etc.

The difference between "Use MFC in a Static Library"and "Use MFC in a Shared DLL" is given below in simple sentence.
If you need to run your application in another computer that did not had a Visual Studio run time, you should choose static library other wise use shared dll. And you can find more difference between these two from net

http://msdn.microsoft.com/en-us/library/1ez7dh12(v=vs.80).aspx[^]

http://stackoverflow.com/questions/2652679/regular-dll-using-mfc-shared-vs-mfc-statically-linked[^]
GeneralRe: Compiler Question: Use of MFC : Use Standard Windows Libraries Pin
DeepT19-Jun-12 2:24
DeepT19-Jun-12 2:24 
GeneralRe: Compiler Question: Use of MFC : Use Standard Windows Libraries Pin
Richard MacCutchan19-Jun-12 3:10
mveRichard MacCutchan19-Jun-12 3:10 
GeneralRe: Compiler Question: Use of MFC : Use Standard Windows Libraries Pin
DeepT19-Jun-12 3:24
DeepT19-Jun-12 3:24 
GeneralRe: Compiler Question: Use of MFC : Use Standard Windows Libraries Pin
Richard MacCutchan19-Jun-12 4:14
mveRichard MacCutchan19-Jun-12 4:14 
GeneralRe: Compiler Question: Use of MFC : Use Standard Windows Libraries Pin
DeepT19-Jun-12 4:20
DeepT19-Jun-12 4:20 
GeneralRe: Compiler Question: Use of MFC : Use Standard Windows Libraries Pin
Richard MacCutchan19-Jun-12 4:32
mveRichard MacCutchan19-Jun-12 4:32 
QuestionDebugger issue Pin
Julio Cesar Nardelli Borges18-Jun-12 8:53
Julio Cesar Nardelli Borges18-Jun-12 8:53 
AnswerRe: Debugger issue Pin
Richard MacCutchan18-Jun-12 9:03
mveRichard MacCutchan18-Jun-12 9:03 
AnswerRe: Debugger issue Pin
Rajesh R Subramanian18-Jun-12 19:03
professionalRajesh R Subramanian18-Jun-12 19:03 
QuestionDisabling External Dependencies in VS2010 Pin
AmbiguousName18-Jun-12 0:01
AmbiguousName18-Jun-12 0:01 
AnswerRe: Disabling External Dependencies in VS2010 Pin
Maximilien18-Jun-12 0:42
Maximilien18-Jun-12 0:42 
AnswerRe: Disabling External Dependencies in VS2010 Pin
AmbiguousName18-Jun-12 0:59
AmbiguousName18-Jun-12 0:59 
AnswerRe: Disabling External Dependencies in VS2010 Pin
Richard MacCutchan18-Jun-12 1:32
mveRichard MacCutchan18-Jun-12 1:32 
AnswerRe: Disabling External Dependencies in VS2010 Pin
AmbiguousName18-Jun-12 1:37
AmbiguousName18-Jun-12 1:37 
GeneralRe: Disabling External Dependencies in VS2010 Pin
Richard MacCutchan18-Jun-12 2:01
mveRichard MacCutchan18-Jun-12 2:01 
AnswerRe: Disabling External Dependencies in VS2010 Pin
Luc Pattyn18-Jun-12 7:17
sitebuilderLuc Pattyn18-Jun-12 7:17 
QuestionSwitch off Debug Assertions Pin
mackel9017-Jun-12 10:02
mackel9017-Jun-12 10:02 

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.