Click here to Skip to main content
15,916,835 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: hmm... Now why did this work? Pin
UserNameless24-Jun-09 21:24
UserNameless24-Jun-09 21:24 
GeneralRe: hmm... Now why did this work? Pin
Rajesh R Subramanian24-Jun-09 22:03
professionalRajesh R Subramanian24-Jun-09 22:03 
GeneralRe: hmm... Now why did this work? Pin
UserNameless24-Jun-09 22:44
UserNameless24-Jun-09 22:44 
QuestionRe: hmm... Now why did this work? Pin
David Crow25-Jun-09 4:05
David Crow25-Jun-09 4:05 
QuestionExecuting external DOS command with output redirecting to file Pin
Rajesh_Parameswaran24-Jun-09 19:44
Rajesh_Parameswaran24-Jun-09 19:44 
AnswerRe: Executing external DOS command with output redirecting to file Pin
Stuart Dootson24-Jun-09 22:30
professionalStuart Dootson24-Jun-09 22:30 
GeneralRe: Executing external DOS command with output redirecting to file Pin
Rajesh_Parameswaran24-Jun-09 23:25
Rajesh_Parameswaran24-Jun-09 23:25 
GeneralRe: Executing external DOS command with output redirecting to file Pin
Stuart Dootson24-Jun-09 23:38
professionalStuart Dootson24-Jun-09 23:38 
QuestionRe: Executing external DOS command with output redirecting to file Pin
David Crow25-Jun-09 4:12
David Crow25-Jun-09 4:12 
AnswerRe: Executing external DOS command with output redirecting to file Pin
Rajesh_Parameswaran25-Jun-09 23:31
Rajesh_Parameswaran25-Jun-09 23:31 
QuestionIs it Possible to Create Bad sectors on hard disks?? Pin
lek25824-Jun-09 19:06
lek25824-Jun-09 19:06 
AnswerRe: Is it Possible to Create Bad sectors on hard disks?? Pin
Hamid_RT24-Jun-09 19:15
Hamid_RT24-Jun-09 19:15 
QuestionMinigui build OS Pin
tuan111124-Jun-09 18:37
tuan111124-Jun-09 18:37 
AnswerRe: Minigui build OS Pin
Cedric Moonen24-Jun-09 20:21
Cedric Moonen24-Jun-09 20:21 
QuestionC6 _asm and graphics.h Pin
tuan111124-Jun-09 17:36
tuan111124-Jun-09 17:36 
QuestionRe: C6 _asm and graphics.h Pin
CPallini24-Jun-09 21:06
mveCPallini24-Jun-09 21:06 
QuestionClash between VS 2003 and VS 2005 Pin
rohitgonsalves24-Jun-09 17:14
rohitgonsalves24-Jun-09 17:14 
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


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.