Vcruntime140.dll vs vcruntime140d.dll

What is the difference between the two dll vcruntime140.dll and vcruntime140d.dll ? What are they needed for? Are they both part of Microsoft Visual C ++ 2015 Redistributable?

Walk for quite some time, but could not find anything that he could understand.

Some prerequisites: I have a C # program that runs on a computer running Windows 10, but does not work on Windows Vista, and looks like this because on my Windows Vista machine there is no vcruntime140d.dll file.

+5
source share
1 answer

Although I could not find anything authoritative on the Microsoft website, they always sent two of each DLL:

  • release version that does not end with d - for example: vcruntime140.dll
  • debug version ending with d - for example: vcruntime140d.dll

You need to use the correct one because the library that the compiler uses is selected based on whether the project is built with debug or release settings. Therefore, if you compile with the release settings, the executable will use vcruntime140.dll, and if you compile debugging options, the executable will use vcruntime140d.dll

+6
source

All Articles