Sorry it took a little while for me to post this. Things got frantic suddenly.

You need the Managed DirectX SDK installed to compile this. You can get these files here direct from Microsoft.

Attached is the project; I included the compiled binary if you just want to check it out. A picture of the program running is posted below. Click and drag the cube to spin and rotate it.

RenderTest.zip

Name:  RenderTest.png
Views: 13374
Size:  29.0 KB