1

The EXE I'm building builds fine using Release config (x64). When ran on another computer it asks for both:

  • ucrtbased.dll
  • vcruntime140d.dll

From what I can tell, the program shouldn't be asking for these debug (denoted with "d" at the end of their filenames) DLL files.

I am researching this simultaneous to asking this question, but have a bit of a time crunch to figure this out. I'm looking for any common culprits, or things that I could be missing? Not the most versed on this WIN process.


If I source the missing DLLs and add them to the directory with the EXE, I get this error message:

  • "The application was unable to start correctly (0xc000007b). Click OK to close the application."

The EXE works fine on my machine, where I co-developed the program. Does not work when we try to take it to another machine with a release package.

yndrby
  • 11
  • 2
  • Have you changed the runtime library setting of any of your projects? Do you link to any libraries which maybe linked to the debug runtime? – Alan Birtles Nov 30 '22 at 07:23

1 Answers1

-1

You need to check whether the library files are mixed with 32/64 bits versions.

vcruntime140.dll is Visual C++ Redistributable.

In addition, the methods in this issue are worthy of your reference.

Yujian Yao - MSFT
  • 945
  • 1
  • 3
  • 9
  • You can't install the debug runtime via the redistributable, in fact you aren't allowed to redistribute the debug runtime – Alan Birtles Nov 30 '22 at 08:06