can anyone help how to include SDK 2004 working on windows xp sp2??
thank's
What IDE are you using?
I'll give you generic instructions since I don't know which IDE you are using:
In the IDE, add the DirectX include location to the include path (usually <installpath>\include) and add the lib/x86 (for 32-bit) or lib/x64 (for 64-bit) to the library path. Then, in your source files, add #include <d3d9.h> and maybe #include <d3dx9.h> if you need it.