Colin DeClue
Colin DeClue

Reputation: 2244

What do I need to download to use MFC without Visual Studio?

I've got Visual Studio 2008 express, and I need to use afx.h and some other things from MFC. Is there an SDK I can download that includes those? I downloaded the latest Windows SDK, but that didn't include it.

Thanks.

Upvotes: 4

Views: 3963

Answers (3)

specializt
specializt

Reputation: 1911

This question is rather old but i felt i needed to spread some truth and negate some of the fantasies about MFC :

Its is completely free and always will be. You simply need to deploy the REDIST packages instead of your MSVC library as described here :

MFC:

https://learn.microsoft.com/en-us/cpp/ide/redistributing-the-mfc-library


VS2017 DK libraries:

https://www.visualstudio.com/en-us/productinfo/2017-redistribution-vs

https://learn.microsoft.com/en-us/cpp/ide/redistributing-visual-cpp-files


VS2015 DK libraries :

https://msdn.microsoft.com/en-us/library/ms235299.aspx

https://www.visualstudio.com/license-terms/distributable-code-microsoft-visual-studio-2015-rc-microsoft-visual-studio-2015-sdk-rc-includes-utilities-buildserver-files/

Upvotes: 0

Kirill V. Lyadvinsky
Kirill V. Lyadvinsky

Reputation: 99685

MFC isn't free. You should buy at least Standard Edition of the Visual Studio.

Upvotes: 2

YeenFei
YeenFei

Reputation: 3218

MFC is the proprietary class collection for Microsoft paid customer so I don't think you can get them FOC (well legally of course).

You can consider Win32++ which attempt to mimic MFC functionalities and its open source.

Upvotes: 2

Related Questions