   VC++ cannot locate d3dx9tex.h
  I've been trying to use d3dx9tex.h in my program, but the compiler says that there is no such file.d3d9.h, which is in the same folder, works fine. I linked both .lib files.I then read an old thread that said to make sure that the include/lib folders were in the vc++ global options.they are.i'm now getting this error:------ Build started: Project: test, Configuration: Debug Win32 ------Compiling...winmain.cppc:\program files\microsoft sdks\windows\v6.0a\include\winnt.h(236) : error C2146: syntax error : missing ';' before identifier 'PVOID64'c:\program files\microsoft sdks\windows\v6.0a\include\winnt.h(236) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-intc:\program files\microsoft sdks\windows\v6.0a\include\winnt.h(7818) : error C2146: syntax error : missing ';' before identifier 'Buffer'c:\program files\microsoft sdks\windows\v6.0a\include\winnt.h(7818) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-intc:\program files\microsoft sdks\windows\v6.0a\include\winnt.h(7818) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-intBuild log was saved at "file://d:\My Documents\Visual Studio 2008\Projects\beginning directx9\test\test\test\Debug\BuildLog.htm"test - 5 error(s), 0 warning(s)========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========[\source]I'm quite confused. Any advice would be welcome.
  I tried moving the files to the bottom of the list in the vc++directory option, and now I'm getting this error:inking...LINK : fatal error LNK1104: cannot open file ',.obj'Build log was saved at "file://d:\My Documents\Visual Studio 2008\Projects\beginning directx9\chapter3\01 Bitmap background\background bitmap\background bitmap\Debug\BuildLog.htm"background bitmap - 1 error(s), 0 warning(s)========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========