What is vcruntime140.dll

Last updated: April 1, 2026

Quick Answer: Vcruntime140.dll is a Windows system file containing runtime libraries from Microsoft Visual C++ 2015 and 2017, required by applications built with these compiler versions to execute properly.

Key Facts

Overview

Vcruntime140.dll is a critical system file in Windows that serves as part of the Microsoft Visual C++ Runtime Library. This dynamic link library (DLL) file contains compiled code and functions that are required for any application created using Microsoft's Visual C++ 2015 or Visual Studio 2017 compilers to run on Windows systems. Without this file, applications compiled with these development tools cannot execute properly.

What It Contains

The vcruntime140.dll file contains fundamental runtime functions including memory management routines, error handling procedures, and core standard library implementations. These are low-level functions that applications depend on for basic operations. When a programmer writes code in Visual C++ and compiles it, the resulting executable does not include all the runtime code; instead, it references functions stored in vcruntime140.dll that will be loaded when the application runs.

When It's Needed

Any software application that was developed using Visual C++ 2015 or Visual Studio 2017 requires vcruntime140.dll to be present on the system. This includes many professional applications, games, utilities, and enterprise software. When you attempt to launch such an application without the required runtime library installed, Windows displays an error message indicating that the DLL file is missing or cannot be found.

Installation and Troubleshooting

The vcruntime140.dll file is installed automatically when you install the Visual C++ 2015/2017 Redistributable package from Microsoft. If the file is missing or corrupted, you can resolve the issue by downloading and installing the official Visual C++ Redistributable package from Microsoft's website. Multiple versions exist for different Windows architectures (32-bit and 64-bit), so ensure you install the correct version for your system.

Security Considerations

While vcruntime140.dll is a legitimate Windows system file from Microsoft, malware sometimes masquerades as this file by placing infected copies in non-standard locations. Always verify that vcruntime140.dll is located in the official Windows system directories (System32 or SysWOW64) and ensure your system files are protected with up-to-date antivirus software.

Related Questions

What is the difference between vcruntime140.dll and other VC runtime files?

Each vcruntime DLL corresponds to a specific Visual C++ compiler version; vcruntime140.dll is for 2015/2017, while other versions like vcruntime120.dll are for 2013 and msvcp140.dll handles C++ standard library functions.

How do I fix a missing vcruntime140.dll error?

Download and install the Visual C++ 2015/2017 Redistributable package from Microsoft's official website, selecting either the 32-bit or 64-bit version depending on your system architecture.

Can I safely delete vcruntime140.dll?

No, deleting vcruntime140.dll will prevent any application that depends on it from running, causing numerous errors; reinstall the Visual C++ Redistributable if it's accidentally deleted.

Sources

  1. Microsoft - Latest supported Visual C++ downloads Used with permission
  2. Wikipedia - Visual C++ CC-BY-SA-4.0