# [.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 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 on other sites
WillC    548

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 on other sites
Thanks a lot for your responces. What is a good book for using windows forms in c++?

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

##### Share on other sites
capn_midnight    1707
where did MFC go? hopefully straight to hell.

##### Share on other sites
dalleboy    324
But what about legacy code? Surely VC2005 will support MFC when it is released.

##### 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 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 on other sites
kSquared    1356
Quote:
 Original post by ProgrammingNerdI 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 ProgrammingNerdI 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 on other sites
Enselic    829
...or you could just download the opensource C# .NET IDE SharpDevelop (#Develop) which is a very qualified C# / .NET editor.