18,355 games • 119 updates this week • 4,738 users

Missing DLL messages and error codes such as 0xc000007b or 0xc0000142 usually point to a missing runtime, damaged system component, wrong 32-bit/64-bit dependency, blocked file, or corrupted installation. The safest fix is to repair the correct official component — not to download individual DLL files from random websites.

Never copy unknown DLL files into System32 or SysWOW64. A file with the right name can still be the wrong version, wrong architecture, or malware.

Identify the DLL Family

MessageLikely componentCorrect direction
MSVCP100.dll, MSVCR100.dllVisual C++ 2010Repair/install official x86 and x64 packages as required
MSVCP120.dll, MSVCR120.dllVisual C++ 2013Install the official 2013 redistributable
VCRUNTIME140.dll, MSVCP140.dllVisual C++ 2015–2022Repair the current Microsoft redistributable
XINPUT1_3.dll, D3DX9_43.dllLegacy DirectX runtimeInstall the official DirectX End-User Runtime
OpenAL32.dllOpenAL audio runtime or game filesUse the game’s prerequisite installer or verified runtime source

Why Both x86 and x64 May Be Needed

A 64-bit Windows installation can run both 64-bit and 32-bit games. A 32-bit game normally needs the x86 runtime even on 64-bit Windows. Install the architectures required by the game rather than assuming x64 replaces x86.

Fix Visual C++ Runtime Errors

  1. Open Settings → Apps → Installed apps and locate Microsoft Visual C++ Redistributables.
  2. Use Modify → Repair when available.
  3. Install the required version from Microsoft’s official Visual C++ Redistributable page.
  4. Install x86 as well as x64 when the game includes 32-bit components.
  5. Restart Windows before testing again.

Fix Legacy DirectX DLL Errors

Windows 10 or 11 includes modern DirectX, but older games may still require optional legacy libraries such as XINPUT1_3.dll or D3DX9_43.dll. Use Microsoft’s official DirectX End-User Runtime Web Installer instead of downloading individual DLL files.

Fix .NET Runtime Problems

Install Windows updates first. Then check whether the game requests .NET Framework or modern .NET Desktop Runtime. Use the version named in the error or game requirements from Microsoft’s official .NET download page.

Fix Error 0xc000007b

This code commonly indicates an invalid image format or architecture mismatch. Work through these checks in order:

  1. Remove DLL files manually copied from third-party websites.
  2. Repair the required Visual C++ x86 and x64 packages.
  3. Install the legacy DirectX runtime when the game requires it.
  4. Reinstall or verify the game files.
  5. Review Protection History for a missing dependency.
  6. Update or clean-install the GPU driver if the event log points to a graphics component.
  7. Repair Windows system files if multiple unrelated applications show the same error.

Fix Error 0xc0000142

This usually means a DLL initialization failure. Test without overlays and mods, repair runtimes, reset compatibility settings, review Event Viewer, and verify that the game can write to its configuration folders.

Repair Windows System Files

If several trusted applications report missing or damaged Windows components, open Terminal or Command Prompt as administrator and run:

DISM /Online /Cleanup-Image /RestoreHealth sfc /scannow

Restart Windows after both commands finish. These tools repair Windows components; they do not restore files belonging only to a specific game.

If steam_api.dll or Another Game-Specific DLL Is Missing

Do not download a replacement from a DLL website. Verify or reinstall the game from a trusted source, check quarantine, and confirm whether the listing requires an official launcher or valid store license. A game-specific DLL is not fixed by placing unrelated copies in Windows system folders.

Use Event Viewer for More Detail

  1. Press Windows + R, enter eventvwr.msc, and press Enter.
  2. Open Windows Logs → Application.
  3. Find the error recorded at the launch time.
  4. Note the faulting module and exception code.
  5. Use that component name to choose the correct runtime, driver, or game-file repair.

When to Reinstall the Game

Reinstall when verification reports damaged files, security software removed game-specific components, the package was incomplete, or DLL files were manually replaced and the original versions are no longer known. Test a clean installation before restoring mods.

Related MaGamers Guides