This is a piece of code done in Directx8 with Direct3D.What it does is make a window and a 2D sprite.You can move it around with the arrow keys.If you have been looking for a good windowed 2D program that uses Direct3D, This is for you.EDIT:Changed zip file so it includes the correct Sprite file