Jump to content
  • Advertisement
Sign in to follow this  
Koolchamp

Can't find ddraw.h & other DirectX headers

This topic is 4443 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!