Your DirectX version is possibly damaged, or contains a wrong driver. Install DirectX 9.0c - any version later than 2004 will do - and install the recent driver of your video card.

You can find more about the reason of the crash in the text files "med.log" or "med.txt" that MED creates in your Gstudio7 folder when it crashes. Post the content of this file here.