The “d3dx9_38.dll is missing” or “not designed to run on Windows” error usually appears when launching older PC games or DirectX 9 applications. The fix is to install the DirectX End-User Runtime (the June 2010 redistributable) or, if that fails, place a fresh copy of the DLL in the game’s folder; the “not designed” message typically means the file is corrupted or from a mismatched architecture (32-bit vs 64-bit). Below is a complete walkthrough, including why this happens and how to avoid common pitfalls.
What Is d3dx9_38.dll and Why Do Games Need It?
d3dx9_38.dll is a dynamic link library that belongs to Microsoft’s DirectX 9.0c runtime. It contains helper functions for 3D graphics, shaders, and texture processing that many games released between roughly 2004 and 2010 rely on. The “38” in the filename is a version number; DirectX 9 had many incremental updates, and each one added a new DLL with a higher number (e.g., d3dx9_24.dll, d3dx9_30.dll, d3dx9_43.dll).
Games are compiled against a specific version, so if that exact DLL is missing, the game refuses to start. Windows itself does not include these older DirectX 9 files by default on modern versions (Windows 10 and 11), because they are considered legacy. That is why you can have a fully updated system and still see this error.
Why Does the “Not Designed to Run on Windows” Error Appear?
This message is different from “missing.” It usually means Windows found the DLL but cannot load it. Common causes include:
- Corrupted file: A partially downloaded or incorrectly copied DLL can trigger this error.
- Wrong architecture: A 64-bit version of the DLL placed in a 32-bit game’s folder (or vice versa) will fail with this message.
- Wrong version: Another DirectX 9 DLL (like d3dx9_39.dll) renamed to d3dx9_38.dll will not work.
- Antivirus quarantine: Some security tools flag DLLs from unknown sources and block them, causing Windows to report them as invalid.
If you see this message, do not just download a random DLL from a third-party site. That often makes the problem worse. The correct approach is to install the official Microsoft runtime, which contains all DirectX 9 DLLs in a single package.
Fix 1: Install the DirectX End-User Runtime (Official Method)
- Go to Microsoft’s official download page for “DirectX End-User Runtime Web Installer” (search for “DirectX End-User Runtime” on Microsoft’s site).
- Download and run the installer. It will extract files to a temporary folder and then ask you to accept the license.
- Follow the prompts. The installer will add all DirectX 9.0c components, including d3dx9_38.dll, to your system.
- Restart your computer after installation.
- Try launching the game again. If the error persists, proceed to Fix 2.
This method is safe and covers all versions of the d3dx9_38.dll file, not just the one you need. It also installs other DirectX 9 libraries that other older games might require later.
Fix 2: Manually Place the DLL in the Game Folder
If the official runtime does not solve the problem, the issue is often that the game is looking for the DLL in its own folder rather than in the system directory. In that case:
- Obtain a fresh copy of d3dx9_38.dll from a trusted source. The safest bet is to extract it from the official DirectX redistributable (see Fix 1) using a tool like 7-Zip, but if you already installed the runtime, the file should be in C:\Windows\System32 (for 64-bit) and C:\Windows\SysWOW64 (for 32-bit).
- Copy the DLL from the appropriate system folder to the game’s installation directory (where the .exe file is located).
- If the game is 32-bit, use the copy from SysWOW64. If it is 64-bit, use the one from System32. Most older games are 32-bit, so SysWOW64 is the usual source.
- Restart the game.
Placing the DLL next to the executable is a common workaround because Windows searches the application’s folder before the system directories. This also avoids needing administrator rights to modify system folders.
Fix 3: Reinstall the Game or Verify Game Files
Sometimes the DLL is not actually missing; the game’s installer failed to copy it correctly. If you are using a digital distribution platform (like Steam, GOG, or Epic), use its “verify integrity of game files” feature. This will check all game files and re-download any that are corrupted or missing, including the DLL.
For physical discs, uninstall the game completely and reinstall it. Make sure to run the installer as administrator, as some older installers cannot write to Program Files without elevated permissions.
Common Mistakes and Misconceptions
- Downloading from DLL sites: These sites often host outdated or infected files. The official Microsoft runtime is the only reliable source.
- Copying the wrong version: d3dx9_38.dll is not the same as d3dx9_39.dll or d3dx9_43.dll. Each has a distinct internal structure.
- Thinking it is a Windows problem: The error is almost always game-specific. Updating Windows will not help.
- Ignoring the “not designed” message: If you see that, do not try to force it. The file is either corrupted or the wrong architecture. Replace it with a correct copy.
How to Check If You Have the Right DLL
You can inspect the file properties to see if it is the correct version. Right-click the DLL, select Properties, and go to the Details tab. Look for “File version” — it should start with 9.29.x.x for d3dx9_38.dll. Also check the “Product name” — it should say “Microsoft® DirectX for Windows®.” If the product name is something else, the file is not genuine.
To check the architecture (32-bit vs 64-bit), you can use a tool like Dependency Walker or simply note the source: if you copied it from SysWOW64, it is 32-bit; from System32, it is 64-bit. Most games need the 32-bit version, so if you are unsure, use the one from SysWOW64.
Frequently Asked Questions
Can I just download d3dx9_38.dll from a website?
It is not recommended. Many DLL download sites bundle malware or provide outdated versions. The safest method is to install the official DirectX End-User Runtime, which includes this DLL and all others. If you must extract a single file, use the runtime’s installer with a tool like 7-Zip, but that is more complicated than simply running the installer.
Will installing DirectX 12 fix this error?
No. DirectX 12 is a separate API and does not include DirectX 9 files. You need the DirectX 9.0c runtime specifically. The June 2010 redistributable is the last version that includes all d3dx9_*.dll files, and it works on Windows 10 and 11.
Why does the error say “not designed to run on Windows” even after I installed the runtime?
That usually means the game is trying to load a corrupted or incorrectly placed DLL. Check if the game has its own copy of d3dx9_38.dll in its folder and replace it with the one from your system (SysWOW64 for 32-bit games). Also, run the game as administrator, as some older games need elevated privileges to load files.
Is this error harmful to my computer?
No, the error itself is harmless. However, if you download a DLL from an untrusted source, that file could be malicious. Stick to the official Microsoft runtime or copy the DLL from your own system after installing it.
Does this error appear on Windows 7 or 8?
It can, but it is less common because those systems often included DirectX 9 files by default. Windows 10 and 11 do not, so the error is more frequent there. The same fixes apply.
What if the game is 64-bit and I need a 64-bit DLL?
Very few games use a 64-bit version of d3dx9_38.dll, but if yours does, copy the file from C:\Windows\System32 (which holds 64-bit DLLs on 64-bit systems). If you are unsure, check the game’s executable with a tool like Process Explorer to see if it is 32-bit or 64-bit.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Fix Text Cursor Turning White in Windows 11
- Force Quit Non-Responding Apps on Mac: 6 Ways
- Chromebook Not Charging? Fix It Fast
- iPhone Won’t Make Calls but Texts Work? Fixes
- Android to iPhone Hotspot: Connect & Fix Issues
- Fix Bluetooth Not Working on Discord Mobile