Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No MFC templates available for a new C++ project - Visual C++ Express

i've been googling before posting this but i havent been able to find anything on the topic.. yet i dont think its a very tricky one so please forgive for posting :o).

for a new job i am getting into C++, and following some tutorials. in particular one is about MFC, it shows how to create a project , selecting MFC application and so on. So, i installed Visual C++ Express 2010 on both a vista and a Win 7, and both time i had the same issue: when i go to new project , I have no "MFC" menu . some screenshots from that tutorial , and from some other on Visual C++ 2010 clearly show that it can be there. to be more specific, on corner left I have "installed templates" , then "Visual C++" and "CLR", Win32" and "General" , no MFC.

as these are "installed templates", i guess i should have to install it, but i found no clear indication on the topic; from what i found it should more or less be there from the beginning ... i also found a way to add MFC DLL through creating a Win32 application, but it doesnt seem its exactly the same thing .. I spent also some time on the menus of Visual C++ but did not find any clear way to add new templates like in Eclipse...

Well, I hope I made myself clear, i think this is pretty basic but if anyone could give me a hand on that one i'd greatly appreciate.

Cheers Vincent

like image 271
user510885 Avatar asked Nov 17 '10 14:11

user510885


People also ask

How do I add MFC to Visual Studio?

To create an MFC forms or dialog-based applicationFrom the main menu, choose File > New > Project. Under the Installed templates, choose Visual C++ > MFC/ATL. If you don't see these, use the Visual Studio Installer to add them. Choose MFC Application from the center pane.

How do I change from C++ to C in Visual Studio?

In Visual Studio You can set compiler options for each project in its Visual Studio Property Pages dialog box. In the left pane, select Configuration Properties, C/C++ and then choose the compiler option category.

Is ATL part of MFC?

In Visual Studio 2017 and later, MFC and ATL are optional sub-components under the Desktop development with C++ workload in the Visual Studio Installer program. You can install ATL support without MFC, or combined MFC and ATL support (MFC depends on ATL).


1 Answers

Visual Studio C++ Express does not support creating MFC applications.

like image 68
Eric Avatar answered Oct 03 '22 22:10

Eric