Dependencies · Troubleshooting guide

The application was unable to start correctly (0xc0000142)

Code 0xc0000142 means DLL initialization failed. Identify whether the launcher or game exits, then check that program's files and startup extensions.

The short answer

Read the code in parentheses and identify which program failed to initialize.

Record the EXE in the title bar and the most recent update. Verify the affected game through its launcher if only one title fails. Check Windows components if unrelated applications fail too.

Common symptoms

Match the complete error before following the checks:

  • 0xc0000142 appears before the main menu.
  • The dialog may report initialization failure without naming a missing file.
cmd.exe reports 0xc0000142 in a French application error dialog
Error screenshot source: Microsoft Q&AThe source interface language is preserved; application names and Windows appearance may differ.

What causes 0xc0000142

The same message can have different causes. Check Windows version, application architecture and logs.

Possible causeDetails
STATUS_DLL_INIT_FAILEDMicrosoft defines 0xC0000142 as DLL initialization failure. The code alone does not identify the library.
STATUS_INVALID_IMAGE_FORMATIf the trailing code is 0xc000007b, inspect the format and architecture of the executable or its dependencies.

Repair steps

Follow these 4 steps in order, starting with the simplest checks.

1

Find the application event at the time of failure

Difficulty: Easy5–10 min

Note when the game exits. Open Event Viewer → Windows Logs → Application and match the process name, exception code and module path. If there is no matching event, keep the launcher log and complete dialog.

Check after repair

You can identify whether the game, its launcher or another process exited.

2

Verify application files and test again

Difficulty: Easy5–10 min

Verify files in the original game launcher or use the vendor's repair installer. Keep saves and settings, launch the same application through its original launcher and record any new error.

Check after repair

File verification completes and both launcher and application open. If the message changes, investigate the new filename.

3

Retest with the original game configuration

Difficulty: Easy5–10 min

Record custom launch options and enabled mods. Temporarily turn off mods and overlays in their managers. Repeat the same launch, then restore them one at a time if the problem clears.

Check after repair

You have recorded which change reproduces the failure.

4

Repair Windows components

Difficulty: Easy5–10 min

Finish Windows Update and restart. If a Windows DLL is still reported missing, follow Microsoft's instructions in an elevated terminal: run DISM.exe /Online /Cleanup-Image /RestoreHealth, then sfc /scannow. Keep both results.

Read Microsoft's official guidance
Check after repair

After restarting, repeat the same launch and compare the exact filename.

Verify the fix

Verify with the same application and launch method that originally failed:

The same executable passes the initialization stage where it failed.Launch the same save or scene through the original launcher, quit, then repeat.

Frequently asked questions

What if I can only see the application startup message?

Copy the entire dialog, including the parentheses, and match the code in the error index.

Need a hand? Explore Baomiao Repair Tool

Check system settings, game components and common issues for repair suggestions.

Get Baomiao Repair Tool
  • Safety first
  • No game-data changes
  • For popular games on Windows