Click here to Skip to main content
15,881,803 members
Please Sign up or sign in to vote.
5.00/5 (2 votes)
See more:
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?
Please help!
Thanks in advance.
Posted

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.
 
Share this answer
 
<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.
 
Share this answer
 
Comments
oearth 25-Nov-12 7:28am    
the problem still remains~


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900