0xc000007b “The application was unable to start correctly” error?

后端 未结 1 1200
无人共我
无人共我 2021-01-27 02:36

I\'ve written a C++ console application in Visual Studio 2019 and am trying to deploy it to another windows laptop. Both laptops are up-to-date with 64 bit Windows 10, and my ta

相关标签:
1条回答
  • 2021-01-27 03:11

    Wrote this before I noticed the above comment had already answered. Just leaving it in.

    Debug Binary: Looks like you have deployed a debug version of your binary (The D in the file name: MSVCP140D.dll). Try to compile in Release mode and deploy the new binary.

    Cause: Debug binaries generally need the debug-versions of the VCRedist binaries to exist on the box you try to run the binary - they are only available on developer PCs with the SDK (and / or Visual Studio) installed. That error message: 0xc000007b means "STATUS_INVALID_IMAGE_FORMAT".


    Tips: There are some resource links here and some tips on how to debug deployment problems.

    0 讨论(0)
提交回复
热议问题