Skip to content

Clarification regarding missing Microsoft Runtime DLLs

Eyeke2 edited this page May 11, 2024 · 5 revisions

The following is a clarification regarding the problem of missing Microsoft Runtime DLLs that some of you have encountered when starting the custom version of PHD2:

I've decided not to include them as part of the installation package for the following reasons:

  • Licensing Issues: Distributing Microsoft's DLL files separately may violate their licensing agreements.
  • Compatibility: There might be different versions of the DLL that are not compatible with the user's system or with your software.
  • Security: Providing a DLL separately can pose a security risk if the file becomes outdated and is not updated with security patches that would be included in the official redistributable package.
  • Dependencies: There may be other dependencies that the DLL requires which are included in the full redistributable package.

Therefore, the best solution to resolve these problems is to install the the Microsoft Visual C++ Redistributable packages directly from Microsoft Website. For your convenience, I'm providing the link below:

Latest Microsoft Visual C++ Redistributable Versions

vcomp140.dll - installed by the Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017, and 2019. The number 140 in the name corresponds to Visual Studio 2015's internal version code (14.0), but Microsoft decided to use the same runtime for Visual Studio 2017 (version 15.x) and Visual Studio 2019 (version 16.x) to maintain binary compatibility across these versions. This DLL is typically associated with the OpenMP library for parallel programming in C++.

msvcr120.dll - installed by the Microsoft Visual C++ Redistributable Packages for Visual Studio 2013. The number 120 corresponds to Visual Studio 2013's internal version code (12.0). This DLL is the C runtime library for Visual Studio 2013.

Since PHD2 is a 32-bit application, it is essential to install the 32-bit (x86) version of the Microsoft Visual C++ Redistributable packages, even if you are running on a 64-bit Windows system.