Please start the command prompt (cmd.exe) with admin rights [1] and run sfc [2]:
sfc.exe /scannow
Is it able to find and repair broken files? Is the d2d1.dll now working?
best regards
André
[2] http://support.microsoft.com/kb/929833
"A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/