Follow these instructions to get the error code and be able to write it down.
You need to reinstall/repair DirectX.
An explanation of the different graphics settings.
Your mouse cursor may be freezing up because of your local DPI settings.
Update your video card drivers.
Install a new version of the Visual C++ Package.