Skip to content
Windows

Error 0xc000007b: a 32/64-bit mix-up, and how to undo it

A game or program throws error 0xc000007b when you open it? It's almost always a 32-bit DLL where a 64-bit one was needed (or the other way round). Which packages to install (Visual C++ x86 and x64, DirectX, .NET), how to spot hand-copied DLLs and when to reinstall the game.

3 minHow we make our guides

Quick answer

Install Visual C++ 2015-2022 in x64 and x86 from Microsoft, the DirectX End-User Runtime and, if the program asks, .NET Framework. If you ever copied a DLL by hand into the game folder or System32, remove it. Then verify or reinstall the game.

Illustration of the problem: Error 0xc000007b
GlitchFix illustration: what this problem usually looks like.

What's happening

64-bit programs can only use 64-bit libraries (DLLs), and 32-bit programs only 32-bit ones. If a program finds a DLL of the wrong architecture, it can't start and Windows shows 0xc000007b.

Top, a 64-bit block joined by a red dashed line to a 32-bit block marked with an X; bottom, a 64-bit block joined to another 64-bit block marked as correct
A 64-bit program with a 32-bit DLL won't start. With both on the same architecture, it does.

The most common causes:

  • One of the two Visual C++ versions (x86 or x64) is missing or damaged.
  • Someone downloaded a loose DLL and copied it to the wrong place.
  • Incomplete game or DirectX files.

Install the official packages (both)

PackageWhereVersions
Visual C++ 2015-2022Microsoft: "Latest supported Visual C++ Redistributable downloads"X64 and X86 (both, even on 64-bit Windows)
Visual C++ 2013, 2012 and 2010Same page, older versions sectionx64 and x86, only for older games
DirectX End-User RuntimeMicrosoft: "DirectX End-User Runtime Web Installer"Just one; installs both architectures
.NET Framework 3.5 / 4.8Control Panel → Turn Windows features on or offEnable .NET 3.5 if the program is old

If Visual C++ was already installed, in Settings → Apps find each "Microsoft Visual C++ Redistributable" → Modify → Repair. The missing MSVCP140.dll guide explains it step by step.

Remove hand-copied DLLs

Desk with a monitor showing code and a laptop next to it lit by a lamp
A loose 32-bit DLL in a 64-bit game's folder triggers 0xc000007b even when everything else is fine.
  • If you ever pasted msvcp140.dll, d3dx9_43.dll or similar into the game folder to "fix" another error, delete it and reinstall the official packages.
  • Never copy DLLs into C:\Windows\System32 or SysWOW64 by hand: on 64-bit Windows, System32 is for 64-bit and SysWOW64 for 32-bit (the opposite of what it looks like), and mixing them causes exactly this error.

Repair the game and Windows

  1. Verify the files of the game in Steam, Epic, EA or Ubisoft, or reinstall it.
  2. Run the game as administrator once.
  3. sfc /scannow in Command Prompt as administrator.
  4. Update the graphics driver.

Frequently asked questions

How do I know if my Windows is 64-bit?

Settings → System → About → System type. Nearly all are today, but you still need the x86 packages for 32-bit programs.

Why isn't downloading the missing DLL enough?

Because it's easy to get the wrong architecture (which causes exactly this error) or a file with malware. The official installers put the right version in the right place.

It only happens with a cracked game or with mods

Cracks and some mods replace DLLs with modified versions. Verify or reinstall the original game and remove mods to test.

If the error continues, tell us which program shows it and whether it's 32 or 64-bit via the contact page.

Still not fixed?

Email us at glitchfixesp@gmail.com with your device model, the exact error message and what you have already tried from this guide. We reply personally (in English or Spanish) and, if the issue keeps coming up, we add the new fix to the guide.

Send us your error

Related guides

See all PC & Windows guides