Multi-byte character set is not found in VS2015 VC++ Redistributables

0

I have created a simple plane MFC application using VS 2015 and if i try to run the exe in another windows 10 machine where VC++ 2015 redistributables are present, then exe is not getting launch.

If i change it to Unicode then it works fine in another machine where VC++ 2015 redistributables are present, its failing specific MBCS.

in the Event viewer i noticed below error,

"Application popup: MFCApplication2.exe - System Error : The code execution cannot proceed because mfc140.dll was not found. Reinstalling the program may fix this problem."

i checked the mfc140.dll its present in system 32 folder, also i placed the same dll at the exe level and run. again new error noticed in event viewer like

Application popup: MFCApplication2.exe - Application Error : The application was unable to start correctly (0xc000007b). Click OK to close the application.

For testing purpose, i made the application as static linkage, in that case its working fine in another machine, but for dynamic linkage the exe is not launching in another machine.

Here are the list of VC++ Redistributes present in the windows 10 machine.

enter image description here

How we can fix the issue?

Edit, Here i found MBCS installer for 2013 (http://go.microsoft.com/?linkid=9832071). But if i run i'm seeing below error, why we require VS for running MBCS i'm not understanding.

enter image description here

thanks

visual-studio
visual-c++
mfc
com
windows-10
asked on Stack Overflow Mar 21, 2019 by Naruto • edited Mar 22, 2019 by Naruto

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0