Jump to content
  • Advertisement
Sign in to follow this  
ender012345

atlbase.h not found, by VC++ or by me....

This topic is 3789 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'm new to both directx and using visual c++. The tutorial I'm using calls for the use of "atlbase.h" but I get the error: 1>c:\users\dan\documents\visual studio 2008\projects\airplane\airplane\main.cpp(6) : fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory I have the express version of VC++, and I can't find atlbase.h anywhere. Is there another library I need to download? or perhaps and sdk that I don't have?

Share this post


Link to post
Share on other sites
Advertisement
Ok, I read that the express edition comes with no atlmfc file. I downloaded and installed Microsoft ® Windows Server® 2003 R2 Platform SDK, however I am still getting the exact same error. I've added the include and lib files under directories just as I had to do with directx. What am I not doing?

Share this post


Link to post
Share on other sites
Is the file on your computer? Do a filesystem search and verify. If not, Microsoft may have deprecated it to the point it is no longer included with the Platform SDK.

Share this post


Link to post
Share on other sites
ATL and MFC only comes with the paid versions of Visual C++ (Standard and Pro). I'm not sure if the Platform SDK ever included atlbase.h, but it doesn't anymore. Are you trying to use CComPtr? If you are, there's replacements that don't require ATL. For example there's _com_ptr_t (available for VC++ only), or you could work with boost::shared_ptr, or you could probably find some kind of third-party solution.

Also, I'm not sure if you're aware but there are newer versions of the Windows SDK available.

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!