Sign in to follow this  

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

This topic is 3578 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
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
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

This topic is 3578 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.

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