Sign in to follow this  
Koolchamp

Can't find ddraw.h & other DirectX headers

Recommended Posts

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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this