I start using the visual studio c++ express 2010 at home but there is no ATL and MFC in it.
How can I add ATL/MFC to visual studio c++ express 2010?
There is no support for MFC and ATL for Express editions. Refer http://msdn.microsoft.com/en-gb/library/hs24szh9.aspx for comparison between editions.
ATL, MFC, and OpenMP are not supported in Visual C++ Express 2010.
Visual C++ Product Comparison (see the Libraries and Headers section)
I guess, Microsoft would not mind much if you try to learn MFC at home. There is a possibility to work with existing MFC projects in VC++ Express: How to compile MFC code in Visual C++ Express
Related
Is it possible to create visual basic(vb) windows form in c++ project in visual studio? and how?
thanks before.
btw, I'm using visual studio community 2015
No. In C++ projects you use C++ and in VB projects you use VB.
I wrote a C++ DLL and it has been compiled. It requires Visual C++ 2010. How can I compile it for Visual C++ 2005, and will it work for Windows XP, Windows Vista, Windows 7?
My DLL uses detours 1.5 and windows sockets. I use Visual Studio 2010.
I guess you need to install Visual C++ 2005 on the same machine, and read this article:
http://weblogs.asp.net/israelio/archive/2009/10/20/enable-vs-2010-multi-targeting-also-for-vs2005-c.aspx
(I have used multi targeting of VS 2010 only for the VS 2008 tool chain, but with the patch above it should work in a similar manner).
Is there a work around way to compile MFC files in Microsoft Visual C++ 2008 Express Edition
I'm not 100% sure, but I think that Windows Driver Developer Kit contains MFC 4.2 headers and libraries. I newer tested if this is enough to compile even simple MFC application using Express Edition of VS, but I guess this is your only chance.
Perhaps you can find an old copy of the visual studio environment?
Is MFC only available with Visual Studio, or is it also possible to use it with Visual C++ Express?
Now there exists a solution to this problem, for all the people want to use a free version.
Visual Studio Community 2013 comes with the MFC (Microsoft Foundation Classes) included. Download link: https://www.visualstudio.com/products/visual-studio-community-vs
Edit: Visual Studio Community 2015 is now also released.
From the FAQ:
Does Visual C++ 2008 Express Edition
include MFC and ATL?
No, MFC and ATL are not included with
Visual C++ 2008 Express. MFC and ATL
will be included in Visual Studio 2008
Standard and above editions.
Same for Visual C++ 2010 Express Edition.
I start using the visual studio c++ express 2008 at home but there is no ATL in it.
How can I add ATL to visual studio c++ express 2008?
ATL 7.1 is now part of the Windows Driver Kit.
ATL was only included in older versions of the SDK. Recent versions of ATL share much code with MFC and are only available with the real versions of Visual Studio, i.e. not with VS Express.
So: to use ATL and/or MFC, you need to buy the Professional version of Visual Studio. If you are content with old versions of ATL, you can download old versions of the platform SDK from the Microsoft website.
http://codegem.org/2008/09/wtl-wizard-for-visual-studio-2008
In his modified script, replace VisualStudio to VCExpress.
You'll need to download the platform SDK and muck around with some dependencies to get ATL.
There might be some more "unsavory" ways to get MFC ;) if you catch my drift. Also many institutions have educational VS licenses which are free.
You just need to install Windows Platform SDK as described here