The application was unable to start correctly (0xc000007b)

Normally we get the 0xC000007B error-code (which means STATUS_INVALID_IMAGE_FORMAT), if:

  • If a 32-bit app tried to load a 64-bit DLL.
  • Or if a 64-bit app tried to load a 32-bit DLL.

To really know, I would suggest to test whether there is a problem between your application and its dependencies using dependency walker

Note that all you need to do is open your App using said tool, and issues appear as red log-entries at buttom of screen.

(At least, at time of writting, namely 2022)

Also, make sure you run the correct version of Dependency Walker, for example, the x86 version will display incorrect results when openning x64 binaries.

Leave a Comment