D3dx9_42.dll error Can’t play games

I freshly installed a new game I bought yesterday. After a successful installation I try to run it but I got this error message. I ask my friend to installed it to his computer to see if the error would still exist, luckily it work just fine. I try to troubleshoot it by myself but nothing works.
Here are the things I’ve done.
- I uninstalled the program, reinstalled it again
- I try to run it by right clicking and choosing run as administrator
- I installed a new patch for the game in the net and installed it
- I try to change the compatibility mode by right clicking then properties. Under the properties menu I choose compatibility tab and check the “Run this program in compatibility mode for”. I try them into the different compatibility mode. I also try to check and uncheck the “Settings”.
I’m sure I follow all the listed on the CD cover. My computer specs are high enough to run the game. I check the system requirements needed for the game and I’m sure that my system is good enough to run the game.
ROClientGame.exe – Unable To Locate Component
This application has failed to start because d3dx9_42.dll was not found.
Re-installing the application may fix this problem.
