Sign in to follow this  
ProgrammingNerd

[.net] Where did MFC go?

Recommended Posts

Can you create windows programs easily using .net like using mfc in vc++ 6? Where has mfc gone to? I downloaded the VC2005 beta 2 and it is nowhere to be found. I can't afford to buy VC2005 when it comes out, and was wondering if I could create windows apps without resorting to windows API. Please help, ProgrammingNerd

Share this post


Link to post
Share on other sites
sthomas    163
Just choose "Windows Application" in the project creation wizard. That'll set you up with some code and get you on your way to making Windows gui apps. I'm sure that once you start using the .net gui facilities you won't be missing MFC anymore.

Share this post


Link to post
Share on other sites
WillC    548
To help you search for more info.... MFC has now been replaced by 'Windows Forms'.

C# is a good language to use with it, but you can use C++ as well if you prefer.

For a good intro book, I recommend 'Windows Forms Programming with C#' by Erik Brown.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster
It went just were it should have went. Move on to .net for GUI's.

Share this post


Link to post
Share on other sites
rohde    432
MFC has not been replaced by .NET. MFC and .NET are two different technologies.

MFC is not dead. They new version of MFC will be in the Visual Studio .NET 2005, but not in the Express products. The new version of MFC is enhanced mainly in the are of .NET interoperability (for example, the ability to host a .NET form inside a MFC view).

Granted I wouldn't recommend starting a new product in MFC, but it's not dead. It's still important for all the legacy code out there.

Read more here: MFC: Visual Studio 2005 and Beyond

Share this post


Link to post
Share on other sites
daviangel    604
My version of vs2005 still has mfc app templates for c++?
Then again I got the full dvd version so maybe it's not included in the download version.
MFC is still around since last time I checked alot of the directx sdk c++ samples are still using it!
If you are new to windows gui programming windows forms are alot easier and faster to write and that's what microsoft is pushing but remember there are still some things that mfc can do that windows forms can't so that's why it's still around.
Qt is another choice if you want to go crossplatform too.

Share this post


Link to post
Share on other sites
kSquared    1356
Quote:
Original post by ProgrammingNerd
I can't afford to buy VC2005 when it comes out, and was wondering if I could create windows apps without resorting to windows API.

You can almost certainly afford it if you're a student, in which case it will most likely be $99. If you can afford to buy two video games, you can afford to buy VS2005.

Share this post


Link to post
Share on other sites
capn_midnight    1707
Quote:
Original post by kSquared
Quote:
Original post by ProgrammingNerd
I can't afford to buy VC2005 when it comes out, and was wondering if I could create windows apps without resorting to windows API.

You can almost certainly afford it if you're a student, in which case it will most likely be $99. If you can afford to buy two video games, you can afford to buy VS2005.

my university provided it gratis, so yours might as well.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this