DirectX is already installed in Windows 7 by default. I have Guild Wars and it works just fine.
What this looks like is that you don't have proper drivers for your video card. Did you go and get the correct 64-bit drivers for your video card? What video card do you have? You're probably using some default VGA drivers that do not have directX features.