“The program can’t start because MSVCP140.dll is missing” is one of the most common messages on Windows. It does not mean that the game is broken or that Windows must be reinstalled: a small shared library is simply not installed. In almost every case the fix takes five minutes and is free.
- 1Read the name of the missing filefor example MSVCP140.dll or d3dx9_43.dll
- 2Find out which package it belongs toVisual C++ or DirectX, see the table below
- 3Install the package from Microsoftboth x86 and x64 on a 64-bit system
- 4Restart the PC and start the gameif the error stays, go to the last section
The fix is almost always to install an official package, not to download a single file.
1. What the message means
Games and programs are built with common libraries from Microsoft (Visual C++ and DirectX) and do not carry them inside. If the matching package is missing or damaged, the program stops at start with a DLL error. Old games need old versions of the package, new ones need the new one, so several versions live in Windows side by side, and this is normal.
2. Which package fixes which file
| Missing file | What it belongs to | What to install |
|---|---|---|
| MSVCP140.dll, VCRUNTIME140.dll, api-ms-win-crt-*.dll | Visual C++ 2015–2022 | The latest Visual C++ Redistributable (x86 and x64) |
| MSVCP120.dll, MSVCR120.dll | Visual C++ 2013 | Visual C++ 2013 |
| MSVCP110.dll, MSVCR110.dll | Visual C++ 2012 | Visual C++ 2012 |
| MSVCP100.dll, MSVCR100.dll | Visual C++ 2010 | Visual C++ 2010 |
| MSVCR90.dll, MSVCR80.dll | Visual C++ 2008 and 2005 | Visual C++ 2005 and 2008 |
| d3dx9_43.dll, xinput1_3.dll, d3dcompiler_43.dll | DirectX 9, 10, 11 (old games) | DirectX End-User Runtime |
| Error 0xc000007b | Mixed 32-bit and 64-bit libraries | Install both x86 and x64 packages, then update the drivers (drivers guide) |
| A file of the game itself (steam_api.dll, a game .dll) | Game files or an antivirus quarantine | Verify the game files in the launcher; check the antivirus quarantine |
Never download a single DLL from a “DLL download” website: such files are often outdated, do not match your version or carry malware. Install the whole official package instead.
3. How to install Visual C++ correctly
- Find out the system type: Settings → System → About. On a 64-bit system install both versions, x86 (32-bit) and x64; on a 32-bit system only x86. Many games on 64-bit Windows still need the 32-bit package.
- Open Settings → Apps → Installed apps and look at which “Microsoft Visual C++ … Redistributable” entries are already there.
- Install the missing versions one by one, from the oldest (2005) to the newest (2015–2022). If you do not know which one a game needs, install all of them: they take little space and do not conflict.
- Restart the PC and start the game again.
4. Official downloads
All packages are taken from the Microsoft website. For versions 2005–2013 download both the x86 and the x64 file on a 64-bit system.
| Package | Download |
|---|---|
| Visual C++ 2005 SP1 | Microsoft (2005) |
| Visual C++ 2010 SP1 | Microsoft (2010) |
| Visual C++ 2012 Update 4 | Microsoft (2012) |
| Visual C++ 2013 | Microsoft (2013) |
| Visual C++ 2015–2022 (one package for all) | Microsoft (2015–2022) |
| DirectX End-User Runtime (old games) | Microsoft (DirectX) |
5. If the error stays
- Run Command Prompt as administrator and type
sfc /scannow; after it finishes,DISM /Online /Cleanup-Image /RestoreHealth. This repairs damaged system files. - Verify the game files in Steam, Epic or another launcher, and check that the antivirus did not move a file to quarantine.
- Update the graphics driver by the drivers guide.
- If the game starts but runs badly, see the low FPS checklist.
If you buy a PC from us, Windows, drivers and the needed packages are already installed and checked. You can assemble a configuration in our PC configurator or ask us for advice.