Hi,
At the moment, I try to practicing c++ with directx, I found good tutorials for that, I started with "Tutorial 1: Create a Window" in this link:
http://www.two-kings.de/tutorials/dxgraphics/dxgraphics01.html
I do all steps ok like the tutorial, but when i compile it gave me errors, I'm using VC++ 2008 express and DX SDK Nov 2008, I attached source file .. I hope that one correct my mistakes