Note the exact file name in the message. The same fix applies to d3dx9_xx.dll, d3dx10_xx.dll, d3dx11_xx.dll, xinput1_3.dll, xaudio2_7.dll and d3dcompiler_43.dll. If Windows cannot start, see the startup guide.
Work through these checks
0 of 7 complete01Do not download the DLL from DLL websites
Single DLL files from such websites are often the wrong version or architecture, and can be unsafe.
- Close any DLL download site.
- Use the official Microsoft package in step 2, which installs all required versions correctly.
Downloaded DLLs can cause new errors such as 0xc000007b, or contain malware.
You get the files only from Microsoft or the game.
If it does not helpContinue with step 2.
02Install the DirectX End-User Runtime from Microsoft
Microsoft's package installs the legacy D3DX9, D3DX10, D3DX11, XInput 1.3, XAudio 2.7 and related libraries that older games need.
- Go to Microsoft's DirectX End-User Runtime Web Installer page (microsoft.com/download, ID 35) and download dxwebsetup.exe.
- Run it, accept the license and skip any optional offers such as browser toolbars, if shown.
- Restart the game.
The game starts without the missing DLL message.
If it does not helpMicrosoft notes that this package does not change the version of DirectX installed on Windows.
03Run the DirectX setup from the game folder
Many games ship the exact DirectX files they need in their own folder.
- Open the game's installation folder.
- Look for _CommonRedist\DirectX, Redist or DirectX and run DXSETUP.exe from it.
The required libraries are installed.
If it does not helpIn Steam, right-click the game > Manage > Browse local files to open the folder.
04Verify the game files
If the game's own files are damaged, the DirectX setup or the game itself may fail.
- Steam: right-click the game > Properties > Installed Files > Verify integrity of game files.
- Other launchers have a similar Verify or Repair option.
Missing or damaged game files are restored.
If it does not helpThen run the game's DirectX setup again (step 3).
05Use the offline DirectX package if the web installer fails
The web installer needs a working internet connection to Microsoft; an offline package avoids that.
- Download Microsoft's DirectX End-User Runtimes (June 2010) package from Microsoft's download site.
- Run it and extract it to an empty folder, then run DXSETUP.exe from that folder.
Download it only from microsoft.com.
The libraries install without the web installer.
If it does not helpDelete the extracted folder afterwards if you like.
06Remove manually copied DLLs
A wrong DLL copied into the game folder is loaded first and causes errors even after the correct runtime is installed.
- If you previously copied d3dx9_43.dll, xinput1_3.dll or similar files into the game's folder, delete those copies.
- Run the game again.
Remove only files you added yourself.
The game uses the correct installed libraries.
If it does not helpIf the game shows 0xc000007b, see that guide on this site.
07Check antivirus and system files
Security software can quarantine game files, and damaged system files can break the installer.
- Check Windows Security > Virus & threat protection > Protection history for blocked game files.
- In Terminal (Admin), run sfc /scannow.
No game files are blocked and system files are intact.
If it does not helpIf the game still fails, check its official support page for its exact requirements.
Possible causes
- The legacy DirectX libraries were never installed
- The game's DirectX setup was skipped or failed
- Damaged game files
- A DLL copied from a DLL website that has the wrong version or architecture
- Antivirus quarantining a game file
Useful Windows tools
These commands open Windows tools. Review changes before applying them.
dxdiagWas this helpful?
Your progress is saved on this device.