Dependency relationship between msvcp140.dll and concrt140.dll

Aohan Dang 0 Reputation points
2023-04-18T13:14:07.78+00:00

While doing a DLL dependency analysis of my C++ application, I noticed that msvcp140.dll and concrt140.dll from the Microsoft Visual C++ 2015-2022 Redistributable (x64) have a odd dependency relationship. concrt140.dll lists msvcp140.dll in its import directory table, while msvcp140.dll lists concrt140.dll in its delay import directory table. This suggests that msvcp140.dll is a hard dependency of concrt140.dll, while concrt140.dll is a soft dependency of msvcp140.dll. What's the reason behind such a dependency relationship? This is the only time I've ever seen two DLLs that depend on each other.

Developer technologies | C++
{count} votes

1 answer

Sort by: Most helpful
  1. RLWA32 49,636 Reputation points
    2023-04-18T15:58:08.57+00:00

    I just installed the Microsoft Visual C++ 2015-2022 Redistributable (x64) and did not observe the imports/dependencies mentioned. msvcpdeps

    concrtdeps

    The above were produced by dumpbin.exe from the files installed by the version 14.34.31938.0 x64 redist.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.