BUG: AppWizard Project Cannot Open Include File .RC2Last reviewed: July 31, 1997Article ID: Q170530 |
The information in this article applies to:
SYMPTOMSWhen you build an AppWizard-generated project, the resource compiler reports the following error if the default code page is anything other than 1252 (for example, you have an Eastern European or Asian system locale):
<project\project.rc>(118) : fatal error RC1015: cannot open include file 'res\\XXXXXXX.rc2'.This error only occurs when the project name contains characters greater than 0x7F hex.
CAUSEThe Resource Script for the project that AppWizard generates is hard-coded to specify the code page as 1252 and the language as US English. When the Resource Compiler attempts to load an RC2 file with a name that has characters greater than 0x7F hex, but the code page 1252 has been specified, the Resource Compiler will not be able to open the RC2 file.
RESOLUTIONTo work around this problem, do the following in the project's .RC file:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available. Keywords : vcbuglist500 WizardIss kbtool Version : 5.0 Platform : NT WINDOWS Issue type : kbbug |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |