title: DirectX programming on Windows, what is the preferred way?
body: <p>I need to develop a part of a business application in a flashy eye candy way. Therefore wanted to see if I can use DirectX. Here's what I got.</p>
  
  <ol>
  <li><p>First I read how using C/C++ is like shooting yourself on the foot and I should use DirectX.NET instead. I couldn't disagree. It's the 21st century.</p></li>
  <li><p>Downloaded DirectX SDK but couldn't find the .NET assemblies in there. Searching the net now revealed that DirectX .NET (called MDX) is now obsolete (released in 2006). And that I should use XNA instead which was mainly developed for XBOX.</p></li>
  <li><p>Downloaded XNA. But it won’t install because I don't have C#.NET Express 2005 SP1. Installed SP1 on my VS Pro 2005. But it won’t install still. It needs Express 2005 and exactly that single one version, not Pro, clearly not 2008.</p></li>
  <li><p>Frustrated tried to download C#.NET Express which is free. But the link from MS which says C#.2005 actually downloads C#.2008, because C#.2005 is now obsolete.</p></li>
  <li><p>And now I read that MS is now putting it's force behind WPF/silverlight. And XNA doesn't support DX10 and Vista doesn't come with DX9.</p></li>
  </ol>
  
  <p>Now I have two choices:</p>
  
  <ol>
  <li><p>Go 15 years back and code in plain old C/C++. At least C has proven itself to be timeless.</p></li>
  <li><p>Try silverlight.</p></li>
  </ol>
  
  <p>What would be your advice? Or am I missing something?</p>
  
  <p>Udpate: Would like to add that DX10 is not backward compatible with any other DX version. SlimeDX looks really promissing. But as a very new package, I am not sure how much helpful the documentation and tutorials will be.</p>
  
  <p>Udpate 2: It seems that the first download link that google brings up when searching for XNA download, which I used, is not the latest one. Thanks DouglasH for providing the link to v.3. Downloaing it. Probably it will work.</p>
  
  <p>But then agian. Should I switch to WPF/Silverlight? Or go with XNA? Which one is better documented and future-profe?</p>
  
  <p>More update: Vista realy doesn't come with DirectX 9 preinstalled [check by googling]. At least it didn't on my machine bnough last year. Googling for it revealed that I have to manually install  DirectX 9 on Vista after downloading it from MS. But my attemet failed beucase hardware drivers for DX9/vista were missing or didn't work. I got the idea that it's not supported that well.</p>