It used to work but recently I receive this error:

Code:
Could not initialize graphics system. Make sure that your video card
and driver are compatible with DirectDraw.
Thanks in advance for any suggestions.