"d3dx9_42.dll is missing from your computer" - can't run game because

I cannot launch Sid Meier's Civilization V. When I try to do so, I receive this message: "The program can't start because d3dx9_42.dll is missing from your computer. Try reinstalling the program to fix this problem." I bought the disc version of the game. I reinstalled it two times, but the same thing continued to happen. Do you know how I can fix this issue?

I asked tech support from 2K games this same question. They responded, "Please send us your DXDiag and MSinfo files". I did. They responded, "d3dx9_42.dll is an error where you need to reinstall DirectX. Please use the following link: http://www.microsoft.com/download/en/details.aspx?DisplayLang=en&id=35" I followed the link and tryed, but failed.  I recieved this message: "An internal error occurred. Please refer to DXError.log and DirectX.log in your windows folder to determine problem." They responded, "We recommend you completely uninstall direct x, then redownload/install it from thefollowinglink: http://www.microsoft.com/download/en/details.aspx?id=35 

If you receive another error message while uninstalling/reinstalling direct x, please contact Microsoft support for further assistance." I looked on the internet to see how to uninstall direct x but there was no way unless you wanted to mess with the operating system. I wanted to contact Microsoft support, but it costs money.


Does anyone know a way to fix this problem without reinstalling direct x? Or is there a simple way to uninstall direct x without messing up your computer?



Hi Indignant,


·         Which version of DirectX is installed on the system?


To check that follow the steps mentioned below.


a.       Click on Start and type dxdiag in the Start search box and press Enter.

b.      This will give you the information about the DirectX installed on the system.


Method 1: Download the DirectX form the link given below and save it to the desktop and install it in Safe mode with Networking and check whether you are able to install it or not.


Advanced startup options (including safe mode)



DirectX End-User Runtimes (June 2010)



Method 2: Update the drivers for the graphics card form the manufacturer’s website and check whether you are able to play the game.


Update a driver for hardware that isn't working properly



Let us know if this helps.

194 people found this reply helpful


Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.


Question Info

Last updated July 6, 2021 Views 302,839 Applies to: