VCRuntime dll not found

Bevan Thomas 60 Reputation points
2024-10-24T03:57:56.6866667+00:00

I had a 32-bit application which i migrated to 64 bit application, but I get the VCRuntime140_1.dll not found error, installing visual c++ x64 redist solved it but for 32-bit application, i didnt have to install visual c++ x86 separately(I checked visual c++ x86 was not installed).Any reason for this

Developer technologies | C++
{count} votes

1 answer

Sort by: Most helpful
  1. Minxin Yu 13,506 Reputation points Microsoft External Staff
    2024-10-24T05:59:19.98+00:00

    Hi,

    For static linking, the C++ runtime library files needed to run the program are embedded directly into the executable during compilation. Therefore, there is no need to rely on external VC++ runtime libraries when running on the target system.

    Your x64 program uses the dynamic runtime VCRuntime140_1.dll, which requires the appropriate version of the runtime to be installed on the user's computer in advance.

    Best regards,

    Minxin Yu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

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.