Hi to all. I'm trying to open some project wroted using WTL. When I try to rebuild it (using VS2008 on Win XP) I get the compile error as above. Now, "atlres.h" file is in directory which I added to my project settings properly and I don't know why error appears!?
The message states "cannot open.." which means it has no trouble locating it? but rather cant open it?
Thanks in advance.
I think you need to add the WTL include directory to the include directory path for the resource compiler. Right-click on the project, select 'Properties', select Resources->General in the properties window and add the WTL include directory to Additional Include Directories.
<pre lang="text">Plesase go to the Tools->Options menu.
Options dialog opens.
Choose projects and solutions.
Choose VC++ directories.
In "show directories for : ", choose "Include Files".
Here add the directory path where your file exits.
and give ok.</pre>
Now try to build your project.