Hi,
I would suggest not to create duplicate thread of the same issue. However, you may try the below steps and check if this helps. Usually such error messages are because of DirectX.
a. Click on Start > Run.
b. Type regedit and press enter.
c. Go to the following location: HKEY_LOCAL_MACHINE\Software\Microsoft\DirectX
d. Right-click on DirectX and select Delete.
e. Restart the computer.
f. Download and install latest DirectX.