Computer Forums Cannot open include file: 'd3d9.h'

 02-18-2008, 12:08 PM #1 Baseband Member     Join Date: Jul 2007 Posts: 40 Cannot open include file: 'd3d9.h' I'm using Microsoft Visual Studio 2005 and just installed the DirectX SDK (Nov 2007). I've gone into the solution properties and added the DirectX SDK's \include and \lib\x86 directories, but VS refuses to find d3d9.h. What am I doing wrong? Solved: I was putting the directories into the wrong list. __________________ __________________ Let there be CHAOS!
 02-18-2008, 06:54 PM #2 Guru     Join Date: Jan 2008 Location: U.S. Posts: 7,841 Re: Cannot open include file: 'd3d9.h' You need to make sure these header files are in the same directories as the "primary" headers. So pretty much in the same directory as MSV05 looks for header files. Else, I think you have to include the whole path. __________________