I've got Visual Studio 2008 express, and I need to use afx.h开发者_JS百科 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.
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.
MFC isn't free. You should buy at least Standard Edition of the Visual Studio.
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/
精彩评论