MSVCP140.dll C++ standard library missing
The Visual C++ standard library used by your app was not found.
First, check that this guide matches your problem
When it happens
It will appear when you launch a new game or graphics program.
Common causes
- Missing Visual C++ runtime
- Corrupted standard library
- Wrong package
Step-by-step fixes
3 steps, 20 min–35 min in total. The easiest checks come first, so stop as soon as the problem is fixed.
MSVCP140.dll is the C++ standard library in the Visual C++ v14 package. A game's launcher can be 32-bit while the game itself is 64-bit, so installing only one side can keep failing.
- Get
vc_redist.x64.exeandvc_redist.x86.exefrom Microsoft Learn and install both. If it says they are already installed, choose Repair. - Restart, then run the game or program again.
What to check
If the standard library error is gone, you are done. If it remains, run the redistributable installer inside the game folder in the next step. Do not remove older Visual C++ versions other apps use.
Did this step fix it?
Games bundle the Visual C++ installer they were built against. If that install was cancelled on first launch, the component can be missing.
- Run the installers (
vc_redist.x64.exeandvc_redist.x86.exe) under _CommonRedist\vcredist in the game's install folder. The folder name can differ by game. - Check the install folder's files with Verify integrity of game files on Steam, or the repair/verify feature of other launchers.
What to check
If it runs, you are done. If not, check in the next step whether security software quarantined the file.
Did this step fix it?
If the MSVCP140.dll bundled in a game folder is quarantined as a false positive, that game alone can keep showing the error even after the runtime is reinstalled.
- In Windows Security → Virus & threat protection → Protection history, look for entries mentioning MSVCP140.dll or the game folder path. For other antivirus, check that program's quarantine list.
- If there is a record, do not restore the quarantined file; run the official launcher's file check again to get a clean copy. If it is quarantined again, tell the antivirus vendor and the game developer.
What to check
If there is no quarantine record and the earlier steps did not help, send the game version and a screenshot of the error window to the developer.
Did this step fix it?
Frequently asked questions
Related PC FIX problems
Official references
Content reviewed: 2026-10-07