FIX: RC1015 Error When Using Resource View If the Include Path is Too Long (326987)
The information in this article applies to:
- Microsoft Visual C++ .NET (2002)
This article was previously published under Q326987 SYMPTOMS In the Resource View window, when you expand the tree view
of the project resources, you receive the following Microsoft Visual Studio
error message: fatal error RC1015: cannot open include
file 'afxres.h' CAUSE This problem can be caused by an excessively long Include files directory path (over 512 bytes). RESOLUTION Although you can still build the project, you cannot use
the WYSIWIG resource editors to modify the .rc file. To resolve this
problem, remove some of the Include paths:
- On the Tools menu, click Options.
- In the left pane of the Options dialog box, click the Projects folder, and then click VC++ Directories.
- In the Show directories for list, click Include files.
- In the lower window, delete some of the paths, and then
click OK.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft
products that are listed at the beginning of this article.
This bug was corrected in Microsoft Visual C++ .NET (2003).
Modification Type: | Major | Last Reviewed: | 4/11/2003 |
---|
Keywords: | kbfix kbbug kbpending KB326987 |
---|
|