Question

I searched my problem in StackOverflow, and I understood some of the ways to fix this - I guess. However, I couldn't accomplish this:

I have a project that was working in older versions of Microsoft Visual Studio. Now, I have to convert those projects to Visual C++ 2008 Express Edition. I searched in StackOverflow about this and downloaded Windows SDK. I found this one in: this page and this page.

I also updated the directories that Visual C++ Express looks for when compiling my code, and updated those. I added the include and atl directories to VC++Express. However, my output windows still states that:

------ Build started: Project: myProject, Configuration: Debug Win32 ------
Compiling...
stdafx.cpp
c:\documents and settings\username\my documents\visual studio 2008\projects\myProject\myProject\stdafx.h(16) : fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory
Build log was saved at "file://c:\Documents and Settings\username\My Documents\Visual Studio 2008\Projects\myProject\myProject\Debug\BuildLog.htm"
myProject - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

So, I beg your pardon if I did something wrong, and want you to give me some tips.

Thank you.

Ninja Edit: Do I have to download and install "Windows Driver Kit Version 7.1.0", too?

Was it helpful?

Solution

There is no ATL in VS Express Edition.

http://en.wikipedia.org/wiki/Microsoft_Visual_Studio_Express

Visual C++ Express

The Visual C++ Express Edition can be used to compile .NET as well as Win32 applications. The Windows Platform SDK compilers and core files are included which can be used to build applications that use the Win32 API. To build applications using either MFC or ATL, the libraries have to be obtained from alternative sources such as the free-to-download Windows Driver Kit.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top