0xC000007B Bad executable image format
The format of the executable file or library being loaded is incorrect.
First, check that this guide matches your problem
When it happens
Immediately after launching the game it says the application cannot be started.
Common causes
- 32-bit/64-bit library mismatch
- Corrupted executable
- DLL replaced with the wrong version
Step-by-step fixes
3 steps, 30 min–1 hr in total. The easiest checks come first, so stop as soon as the problem is fixed.
0xC000007B often appears when a 64-bit app loads a 32-bit DLL or vice versa. Even on 64-bit Windows, 32-bit apps use the x86 runtime, so you need both.
- Download both
vc_redist.x64.exeandvc_redist.x86.exefrom the 'Latest supported Visual C++ Redistributable downloads' page on Microsoft Learn. - Run both files in turn. If it says the package is already installed, choose Repair.
- Restart the PC and run the app again.
What to check
If the app starts, you are done. For an older game, install the legacy DirectX components in the next step; if it is still the same, check for DLLs you copied by hand.
Did this step fix it?
Putting files from DLL download sites into the app folder or System32/SysWOW64 easily causes an architecture mismatch and this error.
- If you put DLLs into the app's install folder yourself, move them to another folder rather than deleting them.
- Restore the original files with the launcher's file check for games (Verify integrity of game files on Steam), or Settings → Apps → Installed apps → the app → Modify or reinstall for other apps.
- If you put DLLs into System32 or SysWOW64, run
sfc /scannowin Terminal (Admin) to restore the Windows files.
sfc /scannowWhat to check
If the app starts after the repair, do not use the DLLs you moved. If it continues, check the DirectX and .NET components the app needs in the next step.
Did this step fix it?
Older games sometimes also need DirectX 9-era helper DLLs or an older .NET Framework. If the 32- or 64-bit files of these components are missing, the same code can appear.
- If the game folder has a _CommonRedist or Redist folder, run the DirectX and vcredist installers inside it.
- If there is no such folder, run the DirectX End-User Runtime Web Installer (
dxwebsetup.exe) from the Microsoft Download Center. - If the game lists .NET Framework 3.5, turn it on in WinR → optionalfeatures.
What to check
If it starts after installing, you are done. If not, send the Event Viewer entry at the error time and the game version to the developer.
Did this step fix it?
Frequently asked questions
Related PC FIX problems
Official references
Content reviewed: 2026-10-07