Error Codes Wiki

MSVCP140.dll Missing Error — Visual C++ Runtime Component Not Found

Warningdll errors

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

  1. 1Download and install the Visual C++ 2015-2022 Redistributable from Microsoft official site
  2. 2Install BOTH x86 and x64 versions to cover all applications
  3. 3If already installed: repair via Settings > Apps > Microsoft Visual C++ 2015-2022 > Modify > Repair
  4. 4Check antivirus quarantine for falsely flagged DLL files and restore if necessary
  5. 5Run Windows System File Checker as a final check: sfc /scannow from admin command prompt

Tags

msvcp140dll-missingvisual-cppredistributableruntime

More in Dll Errors

Frequently Asked Questions

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.