问题
I'm using VS 2015 Express for Desktop which doesn't have MFC Multibyte support by default.
Not long ago there was a separate MFC MBCS DLL Add-on.
But now link to Multibyte MFC Library for Visual Studio 2015 is removed.
That was done because all other VS editions have "Microsoft Foundation Classes for C++" optional install component:
But VS 2015 Express for Desktop lacks it (it has no optional install components, no "Custom" installation at all) So the questions are:
- Maybe someone has a backup link to the download Multibyte MFC Library for Visual Studio 2015?
- I've also downloaded VS 2015 Community Edition ISO. In the \packages\VisualC_D14 there are several VC_MFC.* folders (VC_MFC.MBCS among them). But trying to run executables inside that folder leads to an error
Maybe someone knows howto install that components without running whole VS 2015 Community Edition setup?
Thank you in advance.
P.S. Installing VS 2015 Community Edition instead of VS 2015 Express for Desktop is not suitable for my company due to license limitations (we are enterprise organization - over 250 PCs - and use VS for commercial purposes).
Unfortunately changing the character set from multibyte to Unicode in our projects is also not an option for us now.
回答1:
As far as I see my installation the files are always installed if you install the MFC.
I just rechecked it on a different machine. The appropriate MBCS libs are installed by Default, when you choose MFC in the installation of VS-2015.
回答2:
I have one solution for this. kindly follow the steps to add MFC for C++
- step 1: close any Opened Visual Studio.
- Step 2: open a Visual Studio and choose File->New -> Project
- Step 3: In New Project Pop UP, Select Templates->Visual C++ -> MFC
- Step 4: In the Listed Project/files, you will see "Install Microsoft Foundation classes for C++". Double Click on it.
- Step 5: "Install Missing Features" Popup Come with two Button "Install and Cancel". Saying "Install Microsoft Foundation Classes for C++. You Simple Click on "Install".
- Step 6: Important "Close the opened VS" and you will see Visual Studio Setup Wizard come with option "Microsoft Foundation Classes" Within Features Tab. Just Click on "Next" and then a new Window Appear click on "Update". Your MFC will start updating.
- Step 7: Enjoy coding.....
来源:https://stackoverflow.com/questions/32003428/mfc-multibyte-add-on-for-visual-studio-2015-express-for-desktop