When someone others run an executive which I generated with VS 2012 in their PCs, they occurred the problem
"MSVCR110.dll is missing from your compute"; It troubles me a lot.
Today, I find a website which describes the problem very well.
Following are the contents:
This MSVCR110.dll is the Microsoft Visual C++ Redistributable dll that is needed for projects built with Visual Studio 2011. The dll letters spell this out.
MS = Microsoft
V = Visual
C = C++
R = Redistributable
If you create a C++ project in Visual Studio 2011, this file is probably needed.
The MSVCR110D.dll is almost the same file only the D at the end stands for Debug. This file has debugging enabled.
Ok, so recently I switched to Visual Studio 2011. I had a C++ application that worked perfectly in Visual Studio 2008. Once I compiled it with Visual Studio 2011 and ran it on a clean 2008 server (fully patched but otherwise clean), it failed to run with the following error.
TestWin32.exe – System Error
The program can’t start because MSVCR110.dll is missing from your computer. Try reinstalling the program to fix this problem.<img class="alignnone size-full wp-image-4285" title="MSVCR110.dll" src="http://www.rhyous.com/wp-content/uploads/2010/09/msvcr100-dll.png" alt="MSVCR110.dll" width="404" height="145" />
The same things happens with the debug version of the file, only it is a the debug version of the same DLL as noted by the fact that the DLL name ends with D.
Autorun – System Error
The program can’t start because MSVCR110.dll is missing from your computer. Try reinstalling the program to fix this problem.
<img class="alignnone size-full wp-image-4284" title="MSVCR110d.dll" src="http://www.rhyous.com/wp-content/uploads/2010/09/msvcr100d-dll.png" alt="MSVCR110d.dll" width="404" height="145
I create a new project in Visual Studio 2011 using the project type of C++ Win32 Project and without making a single change to the default project, I built the file and tested it on my clean machine and the same issue occurred.
So obviously that is not acceptable. It seems like this should just not happen by default, but unfortunately it does.
It was actually really easy to resolve for my one project.
Here is what I did.
You can solve this any of the following ways:
The first option seems the most stable and robust and easiest for a single executable. So that is the one I am going to use.
The second option doesn’t really make sense to me and I would probably never do it. Maybe if I had dozens of executable files that all required the same DLL and I didn’t have an installer, and I wanted to conserve size, which probably wouldn’t happen for me since I am pretty good at creating a quick installer. Though you might be in this a situation.
The third option would make sense if I was planning on running my executable after an install. During the install I could include the VC++ Runtime Redistributable and all would be fine.
Make sure you resolve it for both Release and Debug. The steps are slightly different.
Almost exactly the same as release.
It might be a good idea for me to figure out how to change the project so when I create a new project of this type, those settings are the default.
Original site:
http://www.rhyous.com/2011/11/01/avoiding-the-msvcr110-dll-or-msvcr110d-dll-is-missing-error/