locked
vcruntime140d.dll vs vcruntime14_1d.dll RRS feed

  • Question

  • I am curious what the differences are in the VC Runtimes.  I am running into an issue where I need to have the vcruntime140_1d.dll.  I do not have that DLL and it is not an easy task to install the new runtime to get it....security issues/offline network.

    Also, is there a way to invoke either version within the compiler?  Because I do have the vcruntime140d.dll version on my machine.

    Thanks!

    Wednesday, August 12, 2020 3:09 PM

All replies

  • Microsoft has adopted the policy of making VC++ runtime dlls binary compatible between recent versions of Visual Studio.

    As stated in https://docs.microsoft.com/en-us/cpp/c-runtime-library/crt-library-features?view=vs-2019#c-standard-library

    "For binary compatibility, more than one DLL file may be specified by a single import library. Version updates may introduce dot libraries, separate DLLs that introduce new library functionality. For example, Visual Studio 2017 version 15.6 introduced msvcp140_1.dll to support additional standard library functionality without breaking the ABI supported by msvcp140.dll. The msvcprt.lib import library included in the toolset for Visual Studio 2017 version 15.6 supports both DLLs, and the vcredist for this version installs both DLLs. Once shipped, a dot library has a fixed ABI, and will never have a dependency on a later dot library."

    So,

    1) You may be trying to run an application built using a debug configuration with VS2019 on a system that does not have VS2019 installed.

    2) Debug versions are not redistributable.  However, if you have VS2019 installed then the debug versions should be available in the location documented at https://docs.microsoft.com/en-us/visualstudio/releases/2019/redistribution#-distributable-code-files-for-visual-studio-2019

    Note that vcruntime140d.dll and vcruntime140_1d.dll are located in sub-folders of the debug_nonredist folder.

    Wednesday, August 12, 2020 4:39 PM
  • Hello CDMcDaniel,

    Is your issue solved? Feel free to let us know if you have any other concern.

    Best Regards,

    Tianyu


    Visual Studio forum is being migrated to a new home on Microsoft Q&A (Preview)!
    We invite you to post new questions in the "Visual Studio" forum’s new home on Microsoft Q&A (Preview)!
    For more information, please refer to the sticky post.



    Thursday, August 27, 2020 5:55 AM