This error keeps appearing because a DLL file that this program uses is missing or it's used by another software. To fix this, you can try to reinstall the game, update the DirectX to the latest version or install the DirectX version that comes with the game. I advise that you don't try to download only the DLL file from the Internet.