MSVCP140.dll Missing Error — Visual C++ Runtime Component Not Found
About MSVCP140.dll Missing Error
Fix MSVCP140.dll missing error preventing applications from launching due to the Microsoft Visual C++ 2015-2022 runtime library not being installed. This guide covers everything you need to know about this topic, including common causes, step-by-step solutions, and answers to frequently asked questions.
Here are the key things to understand: MSVCP140.dll is the C++ Standard Library DLL from the Microsoft Visual C++ 2015-2022 Redistributable. It is a companion to VCRUNTIME140.dll — both come from the same redistributable package. Games, creative software, and many Windows applications require this runtime. The error text: "The code execution cannot proceed because MSVCP140.dll was not found". Both x86 and x64 versions may be needed for different applications. Understanding these fundamentals will help you diagnose and resolve this issue more effectively.
The most common reasons this occurs include: Microsoft Visual C++ 2015-2022 Redistributable not installed on the system. Redistributable package corrupted or partially installed. Application requires the x86 (32-bit) version but only x64 (64-bit) is installed. Antivirus software quarantined the DLL as a false positive detection. Identifying the root cause is the first step toward finding the right solution.
To resolve this, follow these recommended steps: Download and install the Visual C++ 2015-2022 Redistributable from Microsoft official site. Install BOTH x86 and x64 versions to cover all applications. If already installed: repair via Settings > Apps > Microsoft Visual C++ 2015-2022 > Modify > Repair. Check antivirus quarantine for falsely flagged DLL files and restore if necessary. Run Windows System File Checker as a final check: sfc /scannow from admin command prompt. If these steps do not resolve the issue, consider consulting additional resources or a qualified professional.
This article is part of our Windows Error Codes collection on Error Codes Wiki. We provide comprehensive, up-to-date information to help you find solutions quickly.
Quick Answer
Is MSVCP140.dll the same as VCRUNTIME140.dll?
They are different DLLs but come from the same Visual C++ Redistributable package. MSVCP140.dll is the C++ Standard Library and VCRUNTIME140.dll is the C Runtime Library. Installing the redistributable provides both files.
Overview
Fix MSVCP140.dll missing error preventing applications from launching due to the Microsoft Visual C++ 2015-2022 runtime library not being installed.
Key Details
- MSVCP140.dll is the C++ Standard Library DLL from the Microsoft Visual C++ 2015-2022 Redistributable
- It is a companion to VCRUNTIME140.dll — both come from the same redistributable package
- Games, creative software, and many Windows applications require this runtime
- The error text: "The code execution cannot proceed because MSVCP140.dll was not found"
- Both x86 and x64 versions may be needed for different applications
Common Causes
- Microsoft Visual C++ 2015-2022 Redistributable not installed on the system
- Redistributable package corrupted or partially installed
- Application requires the x86 (32-bit) version but only x64 (64-bit) is installed
- Antivirus software quarantined the DLL as a false positive detection
Steps
- 1Download and install the Visual C++ 2015-2022 Redistributable from Microsoft official site
- 2Install BOTH x86 and x64 versions to cover all applications
- 3If already installed: repair via Settings > Apps > Microsoft Visual C++ 2015-2022 > Modify > Repair
- 4Check antivirus quarantine for falsely flagged DLL files and restore if necessary
- 5Run Windows System File Checker as a final check: sfc /scannow from admin command prompt