Ok, the question does not concern too much of DirectX experience. But I will post it in the Windows section, because I am creating a Windows Application here after all.
I am including d3d9.h, d3dx9.h and windows.h. When I compile the program, it says this:
.Code:h:\work\microsoft directx sdk (february 2010)\include\d3dx9math.h(26) : error C2653: 'D3DXFLOAT16' : is not a class or namespace name
H:\Work is the directory where I installed DirectX SDK. No matter how many examples from book I tried, same error. There are lots anyway, but I think that if I solve that, all the rest of them will be solved as well... I could post the header file is someone needs it or something. But please help me, I can't get rich in this way.