atlbase.h not found, by VC++ or by me....
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?
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?
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.
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.
Also, I'm not sure if you're aware but there are newer versions of the Windows SDK available.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement