Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

vcruntime140.dll vs vcruntime140d.dll

Tags:

c++

c#

.net

dll

What are the difference between these two dlls vcruntime140.dll and vcruntime140d.dll? Why do we need them? Are they both part of the Microsoft Visual C++ 2015 Redistributable?

Have googled for quite some time, but couldn't find anything that I can understand.

Some background: I have a C# program that works on a Windows 10 machine but doesn't work on Windows Vista, and looks like it is because there is no vcruntime140d.dll on my Windows Vista machine.

like image 477
Bon Avatar asked Aug 18 '16 05:08

Bon


People also ask

What is VCRUNTIME140D dll?

VCRUNTIME140. DLL is a Microsoft C Runtime Library application extension of os size around 86 KB, located in the System32 folder and installed by Microsoft Visual Studio.

Why is VCRUNTIME140 dll missing?

If you received this error message, you need to reinstall the Microsoft Visual C++ Redistributables on your PC. You can locate and download them here. After you finish installing them, restart your PC and try launching your game again.

Is VCRUNTIME140 dll important?

It is a Microsoft C Runtime Library application extension of size around 86 KB, located in the System32 folder. Its file extension "DLL" stands for Dynamic Link Library, which indicates that it is a Dynamic Link Library file. Therefore, this file is very important to programs.

How do I fix VCRUNTIME140 dll is missing in Windows?

dll Was Not Found Error. You can fix the vcruntime140. dll was not found error by installing the Microsoft Visual Studio 2015 package or repairing it. If you get this error while trying to use the program WAMP Server – a program that lets you make WordPress websites locally and code PHP – this is all you need to do.


1 Answers

Although I couldn't find anything authoritative on Microsoft's site, they have always shipped two of each DLL:

  • a release version which does NOT end with a d - for example: vcruntime140.dll
  • a debug version which ends with a d - for example: vcruntime140d.dll

You need to use the right one because the library that the compiler uses is picked based on whether the project is built with debug or release settings. So if you compile with release settings the executable will use vcruntime140.dll and if you compile with debug settings the executable will use vcruntime140d.dll

like image 116
Jerry Jeremiah Avatar answered Oct 02 '22 14:10

Jerry Jeremiah