Specifications
Resource Compiler Messages Page 9 of 24
the file that contains the offending #pragma directive may not be immediately obvious. The #ifndef
RC_INVOKED technique can control including header files in project-based header files.
Resource Compiler Error RC2102
string literal too long
An RCDATA string exceeded the maximum allowable length.
Resource Compiler Error RC2103
unexpected end of file in string literal
An end of file was found before the end of a string. The string is probably missing a closing double
quotation mark (").
Resource Compiler Error RC2104
undefined keyword or key name: key
The specified keyword or key name was not defined. If you encounter the following error message:
undefined keyword or key name: MFT_STRING
Open the file ...\mfc\include\AfxRes.h and add the following include directive:
#include <winresrc.h>
Resource Compiler Error RC2105
BEGIN expected in string table
The BEGIN keyword must immediately follow the ACCELERATORS keyword.
Resource Compiler Error RC2106
BEGIN expected in accelerator table
The BEGIN keyword must immediately follow the ACCELERATORS keyword.
Resource Compiler Error RC2107
expected numeric command value
RC was expecting a numeric idvalue field in the ACCELERATORS statement. Make sure that you
have used a #define constant to specify the value and that the constant is spelled correctly.
Resource Compiler Error RC2108
unbalanced parentheses
An open parenthesis was not matched with a closing parenthesis.
Resource Compiler Error RC2109
expected numerical dialog constant
A DIALOG statement requires integer values for the x, y, width, and height fields. Make sure these
values are included after the DIALOG keyword and that they are not negative.
Resource Compiler Error RC2110
expected numerical dialog constant
A DIALOG statement requires integer values for the x, y, width, and height fields. Make sure these
values are included after the DIALOG keyword and that they are not negative.
Resource Compiler Error RC2111
invalid control type
Each CONTROL statement in a DIALOG statement must be one of the following: 3STATE, AUTO3,










