The problem is that the video driver for your video card does not properly support DirectX 5. There are a couple of ways to deal with this problem:
Solution #1:
Solution #2
In most cases this problem is really just the result of an outdated driver and often you can solve it by visiting the website of the manufacturer of your video hardware. The manufacturers generally list the most recent versions of their drivers available for download on their websites. If you don�t know offhand what type of video card you have one way to get an idea is to check the device manager. Here�s how:
There are no hard fast rules on what this text will say but the general format is something along the lines of "Manufacturer Make Model Number" . An example is "3Dfx Interactive, Inc. Voodoo3" This tells you that your video card is a Voodoo3 made by 3Dfx Interactive. Once you know who makes your card, it�s just a quick search on the internet to find their website, in this case www.3dfx.com.

Here�s a short list of some common video card manufacturer�s and their website�s: