If you already know how to set up a project in Visual Studio and get up and running with it, then feel free to skip this section.
DirectX applications are now quite simple to make for free with Visual Studio Express 2008. If you have other versions of Visual Studio, the steps to set up a DirectX project are the same. Note, however, that earlier versions of Visual Studio Express such as 2005, etc. can’t build Win32 applications without some extra hassle. So unless you own a copy of Visual Studio, you’re better off sticking to VS Express 2008.
You can download VS Express 2008 from: