Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Read and respond

Posted on 2000-02-20
Last Modified: 2011-09-20
Win32 SDK or MFC?
which is better?
which is faster?
which is easyer?
Question by:scooter1

Expert Comment

ID: 2541172

It depends on what you want to do and what your experience is. I personally prefer MFC but some people prefer straight Win32 - probably because you end up closer to the 'real thing' (that is, Win32 itself).


Straight Win32, obviously. MFC *does* add an overhead to everything you're doing.


I'd say MFC, without a doubt. It hides some of the ugly stuff from the programmer (not all, though!).

Expert Comment

ID: 2541600
I'm one who don't like MFC. It was designed in early 16 bits age. It was designed for user interface.

I do a lots of Windows NT services, program serial communication, use event driven WinSock2 on NT service, etc. For all of this there is no possibility to use MFC.

So, at work I mix few MFC things (CString and CList, etc) and Win32, but at home I write all stuff without MFC. I have my own light weight class library built on top of Win32. Small and fast.

So, it depends on your needs and skills, but remember MFC has it's limitations.


Expert Comment

ID: 2541759
which is better?
which is faster?
which is easyer?

All depond on the nature of what you are going to do.....
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

LVL 10

Accepted Solution

RONSLOW earned 0 total points
ID: 2544553
MFC better and easier if you want a to build your application on a simple framework.  MFC does a LOT of work for you, and saved you from losts of mistakes and traps that you may otherwise fall into.

SDK is best when some functionality is not handled by MFC.

Also note that ATL is often an even better alternative, as it nicely and simple encapsulates windows SDK in classes.  Much less overhead than MFC (no library .. all templates).

Author Comment

ID: 2582336
This question has a deletion request Pending

Expert Comment

ID: 2582353
This question no longer is pending deletion

Expert Comment

ID: 2582354
Usually, one does not delete a question that has received as many good quality comments.

You are expected, then, to credit the author of one (or more) of these good comments with the answer - and the points, obviously.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question