D3dx9_41.dII error in a game

Hello
I was playing a game when suddenly an error window appeared on the screen. It said:
This application has failed to start because d3dx9_42.dll was not found. Re-installing the application may fix this problem.
As you all know this error occurs when a game is started. I cannot find a way out. Has anyone seen such an error and fixed it before.
I have posted this query to many forums but no response yet.
I’m looking forward to your response.
Thanks in advance
Regards.
