Click here to Skip to main content
15,884,298 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Clash between VS 2003 and VS 2005 Pin
Joe Woodbury24-Jun-09 17:37
professionalJoe Woodbury24-Jun-09 17:37 
GeneralRe: Clash between VS 2003 and VS 2005 Pin
rohitgonsalves24-Jun-09 19:30
rohitgonsalves24-Jun-09 19:30 
QuestionMoving to UNICODE Pin
dipuks24-Jun-09 12:36
dipuks24-Jun-09 12:36 
AnswerRe: Moving to UNICODE Pin
PJ Arends24-Jun-09 14:37
professionalPJ Arends24-Jun-09 14:37 
AnswerRe: Moving to UNICODE [modified] Pin
Joe Woodbury24-Jun-09 17:45
professionalJoe Woodbury24-Jun-09 17:45 
QuestionI have a question: Why MFC is still used? [modified] Pin
Seraph_summer24-Jun-09 10:35
Seraph_summer24-Jun-09 10:35 
AnswerRe: I have a question: Why MFC is still used? Pin
Stuart Dootson24-Jun-09 10:55
professionalStuart Dootson24-Jun-09 10:55 
AnswerRe: I have a question: Why MFC is still used? Pin
Joe Woodbury24-Jun-09 11:28
professionalJoe Woodbury24-Jun-09 11:28 
MFC has a more complete application framework. For example, the menu handling and tying menu items to button bar buttons.

Once you understand MFC and Visual Studio, it is very easy to rapidly create applications.

MFC has a massively huge amount of third party resources for it. CodeJock, for example, is an excellent UI interface (far better, IMO, than the BCG stuff Microsoft used for the 2008 Feature Pack.)

With few exceptions, MFC lets you seamlessly move between native Win32 and the framework.

MFC/Native applications [can] use much less memory than .NET applications.

MFC did languish for several years, then Microsoft did some actual research of actual developers and found that as of 2003/2004, 80% of client application developers world wide was still using MFC. As a result, they are paying attention again and for 2010 are allegedly adding back the fabulous Class Wizard from Visual C++ 6 and before. As for efficiencies; due largely to the heavy amount of COM added, it's become more bloated, but it's hard to make it much more efficient without changing the design (and even then, for large applications, the difference would be negligible.)

At one point WTL showed promise, but it was rather confusing and time consuming to create window classes. Unfortunately, rather than add some Wizards and beef up support, Microsoft threw WTL into the public domain. (Shame since I have shipping applets which could have been main leaner with WTL.)

Many (please note that I didn't say all) developers I personally know who claim .NET is superior to MFC were never very good at MFC; they never bothered to really learn it or Win32. Most of those are just as bad at .NET too; they just think they aren't. I use native Win32, MFC, and .NET. Many things are easier in .NET, some things are harder and some things are so blasted hard, it's just not worth it. There are some really nice things about .NET and C#, but when all is said and done, I'm a C/C++ programmer at heart. (Having said all that; anyone who needs to do web development or pure database front ends would be crazy to pick C++ over .NET.)


Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke


QuestionSlideCtrl Pin
siva45524-Jun-09 8:59
siva45524-Jun-09 8:59 
QuestionRe: SlideCtrl Pin
David Crow24-Jun-09 9:12
David Crow24-Jun-09 9:12 
QuestionHow to open a device specific serial port?? Pin
Kiran Satish24-Jun-09 8:14
Kiran Satish24-Jun-09 8:14 
Questionstrcpy_s with WCHAR option Pin
dipuks24-Jun-09 7:38
dipuks24-Jun-09 7:38 
AnswerRe: strcpy_s with WCHAR option Pin
led mike24-Jun-09 8:18
led mike24-Jun-09 8:18 
GeneralRe: strcpy_s with WCHAR option Pin
Rajesh R Subramanian24-Jun-09 9:49
professionalRajesh R Subramanian24-Jun-09 9:49 
GeneralRe: strcpy_s with WCHAR option Pin
led mike24-Jun-09 11:55
led mike24-Jun-09 11:55 
GeneralVOID *function() help Pin
Douglas Kirk24-Jun-09 7:35
Douglas Kirk24-Jun-09 7:35 
GeneralRe: VOID *function() help Pin
bulg24-Jun-09 7:45
bulg24-Jun-09 7:45 
GeneralRe: VOID *function() help Pin
Douglas Kirk24-Jun-09 7:49
Douglas Kirk24-Jun-09 7:49 
GeneralRe: VOID *function() help Pin
Chris Losinger24-Jun-09 9:04
professionalChris Losinger24-Jun-09 9:04 
GeneralRe: VOID *function() help Pin
Douglas Kirk24-Jun-09 9:57
Douglas Kirk24-Jun-09 9:57 
GeneralRe: VOID *function() help Pin
Stuart Dootson24-Jun-09 10:48
professionalStuart Dootson24-Jun-09 10:48 
QuestionInferred Function Pointer Template Parameter Pin
Skippums24-Jun-09 7:25
Skippums24-Jun-09 7:25 
AnswerRe: Inferred Function Pointer Template Parameter Pin
Stuart Dootson24-Jun-09 10:46
professionalStuart Dootson24-Jun-09 10:46 
QuestionCDialogTemplate Pin
p_196024-Jun-09 7:14
p_196024-Jun-09 7:14 
AnswerRe: CDialogTemplate Pin
David Crow24-Jun-09 8:22
David Crow24-Jun-09 8:22 

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.