Specifications
Resource Compiler Messages Page 14 of 24
Resource Compiler Error RC2151
cannot re-use string constants
You are using the same value twice in a STRINGTABLE statement. Make sure you are not mixing
overlapping decimal and hexadecimal values. Each ID in a STRINGTABLE must be unique. For
maximum efficiency use contiguous constants that start on a multiple of 16.
Resource Compiler Error RC2152
invalid control character
A control character in the ACCELERATORS statement is invalid. A valid control character consists
of one letter (only) following a caret (^).
Resource Compiler Error RC2153
hex constants must have at least 1 hex digit
An empty hexadecimal constant was found.
Resource Compiler Error RC2154
control character out of range [^A - ^Z]
A control character in the ACCELERATORS statement is invalid. The character following the caret
(^) must be between A and Z, inclusive.
Resource Compiler Error RC2155
invalid accelerator
An event field in the ACCELERATORS statement was not recognized or was more than two
characters in length.
Resource Compiler Error RC2156
expected string or constant accelerator command
RC was not able to determine what kind of key is being set up for the accelerator. The event field in
the ACCELERATORS statement might be invalid.
Resource Compiler Error RC2157
expected comma in accelerator table
The Resource Compiler requires a comma between the event and idvalue fields in the
ACCELERATORS statement.
Resource Compiler Error RC2159
invalid accelerator type [ASCII or VIRTKEY]
The type field in the ACCELERATORS statement must contain either the ASCII or VIRTKEY value.
Resource Compiler Error RC2160
## cannot occur at the beginning of a macro definition
A macro definition began with a token-pasting operator (##).
Resource Compiler Error RC2161
## cannot occur at the end of a macro definition
A macro definition ended with a token-pasting operator (##).
Resource Compiler Error RC2162










