Can't find ddraw.h & other DirectX headers
I installed the DirectX SDK or whatever it is for Visual C++ 2005 Express Edition. I try to build an example program from a book I have and it can't find the ddraw.h file. Ive looked at other posts and have googled my problem, but all I can find is: "check to make sure your directories are correct". I've done that. Many, many times and there are all right. Any insight?
Can you find the file ddraw.h itself in the SDK directory (where you installed the SDK to)? It ought to be placed in the folder "<SDK-Path>/Include".
If it is there, check your directory settings. Make sure you selected the "Path for include files" before adding the include folder. The entry of the path has to be the topmost.
If it is there, check your directory settings. Make sure you selected the "Path for include files" before adding the include folder. The entry of the path has to be the topmost.
I know where all the header files are. And VC++ seems to be looking in the right directory: C:\ProgramFiles\Microsoft DirectX SDK (April 2006)\Include.
Quote:Original post by Koolchamp
I know where all the header files are. And VC++ seems to be looking in the right directory: C:\ProgramFiles\Microsoft DirectX SDK (April 2006)\Include.
Is that "ProgramFiles" or "Program Files"? (note the space) [wink]
All the best,
ViLiO
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement