Sunday . 19 September . 2021

Everytime I create any C++ application in my VS2010, It runs fine on my machine but if I run it on different machine, It starts with this error. Error goes if I copy msvcp100.dll in System Folder then it shouts for some other DLL. It requires some 5-6 different DLLs.

Bạn đang xem: The program can’t start because msvcp100

Most irritating part is even if I write a simple Console based Addition program, It gives this error.(I should not but)I would have agree if I kiến thiết some fancy forms và all... But for simple Addition program????

Am I missing out somethings in Settings? or VS2010 to blame??

Somewhat related question: this But this problem seems different


visual-studio-2010 msvcr100.dll
Share
Improve this question
Follow
edited May 23 "17 at 12:31
*

Community♦
111 silver badge
asked Sep 4 "12 at 8:54
*

SwanandSwanand
3,7411010 gold badges4141 silver badges6868 bronze badges
2
Add a bình luận |

4 Answers 4


Active Oldest Votes
16
By default, MSVC projects are mix khổng lồ links against the dynamic run time library which generates a dependency on the visual C++ run time redistributable. As you have sầu already found out, this dependency is not guaranteed so your install utility has to lớn install the visual c++ run time first.

You can avoid this by changing your project settings. Load the project properties and go to: "Configuration Properties"/"C/C++"/"Code Generation"

In the nhà cửa labelled "Runtime Library", select "Multi Threaded (/MT)" for the release version"Multi Threaded Debug (/MTd)" for the debug version.

You have sầu to lớn be careful while doing this that all the other libraries that your application liên kết are also compiled against the static run time.


Share
Improve sầu this answer
Follow
edited Sep 18 "14 at 16:45
*

Travis
1,99522 gold badges2323 silver badges3434 bronze badges
answered Jan 15 "13 at 15:52
*

Jon TrauntveinJon Trauntvein
4,19166 gold badges3737 silver badges6666 bronze badges
0
Add a comment |
5
You need to lớn have sầu Visual C++ Libraries installed if you want lớn run your app.


Share
Improve this answer
Follow
answered Sep 4 "12 at 9:00
*

YohannPYohannPhường.
29911 silver badge33 bronze badges
3
Add a bình luận |
0
Using the compiler options khổng lồ change the runtime library worked for me ("Configuration Properties"/"C/C++"/"Code Generation". In the thành công labelled "Runtime Library", select "Multi Threaded (/MT)" for the release version and "Multi Threaded Debug (/MTd)" for the debug version). I did have sầu to lớn bởi both the debug và the release to get the release khổng lồ work. Don"t know why (it is possible that I did not vì chưng it correct the first time).

Xem thêm: Trời Nóng Dễ Ốm Nhắn Tin Nhắn Khi Người Yêu Bị Ốm ? Cách Quan Tâm Người Yêu Khi Bị Ốm

Note: I was using VC2010 Express version on Windows 7 to lớn compile. I tested on an old XPhường machine.Another note: MS information at http://msdn.microsoft.com/en-us/library/2kzt1wy3(v=vs.100).aspx


Share
Improve this answer
Follow
edited Atruyền thông quảng cáo 15 "13 at 6:18
Gordon
299k6868 gold badges511511 silver badges535535 bronze badges
answered Aquảng cáo 15 "13 at 5:23
D_SpyderD_Spyder
122 bronze badges
0
Add a bình luận |
0
If you have sầu installed a new copy of Windows on your computer or have reinstalled one then you will come across an error called "The program can’t start because MSVCP100.dll is missing from your computer. Try reinstalling the program lớn fix the problem." on your computer.

Xem thêm: Microsoft Lumia 950 Cũ Fpt Điện Thoại" Giá Tốt Tháng 5, 2021 Điện Thoại

The basic reason behind this error is that the Visual C++ doesn’t get installed when you reinstall or install a fresh copy of Windows operating system. In order khổng lồ check Visual C++ is installed on your PC or not, open Control Panel → All Programs & Features và then search for Visual C++ in the software list. If you don’t find the software installed there then you have to lớn install it.

I would suggest, first of all, install the Visual C++ 2010 package and kiểm tra if it has solved msvcp100.dll missing error or not. If the issue is not resolved by the Microsoft Visual C++ 2010 then install 2013 or 2015 versions of Microsoft Visual C++. Here is the menu of tải về link of Microsoft Visual C++ for both x86 và x64 architectures:

Microsoft Visual C++ 2010 SP1 Redistributable Package (x64)Microsoft Visual C++ 2005 SP1 Redistributable Package (x86) Visual C++ Redistributable Packages for Visual Studio 2013 Visual C++ Redistributable for Visual Studio 2015

→ The lakiểm tra supported Visual C++ downloads

I hope, now you are able lớn fix “The program can’t start because MSVCP100.dll is missing error on your computer. To know more details, you can follow this guide.


Chuyên mục: Tin Tức