Specifications
Resource Compiler Messages Page 18 of 24
Check the syntax of the line containing the specified token.
Resource Compiler Warning RC4093
unescaped newline in character constant in inactive code
The constant expression of an #if, #elif, #ifdef, or #ifndef preprocessor directive evaluated to zero,
making the code that follows inactive. Within that inactive code, a newline character appeared within a
set of single or double quotation marks. All text until the next double quotation mark was considered
to be within a character constant.
Resource Compiler Warning RC4111
unexpected token ’string’
Check the syntax of the line containing the specified token.
Resource Compiler Warning RC4117
macro name ’macro’ is reserved, macro ignored
The specified macro was given a reserved name.
Resource Compiler Warning RC4203
SHIFT or CONTROL used without VIRTKEY
In an accelerator table resource, SHIFT or CONTROL require VIRTKEY. Because SHIFT and
CONTROL are indicated as flag bits in a VIRTKEY type accelerator, they cannot exist independent
from a VIRTKEY.
Resource Compiler Warning RC4204
ASCII character not equivalent to virtual key code
A string literal was used for the virtual key code in a VIRTKEY type accelerator. This warning lets
you continue, but be aware that the accelerator keys generated may not match the string you
indicated. (VIRTKEYs use different key codes than ASCII accelerators.) While string literals are
syntactically valid, you can only ensure that you get the accelerator you want by using the VK_*
#define values in WINDOWS.H.
Resource Compiler Warning RC4205
string literal longer than 256 - stored anyway
A literal sting exceeded 256 characters. It was stored intact.
Resource Compiler Warning RC4206
name string too long - truncated at 256
A name string exceeded the limit of 256 characters. It was truncated to 256 characters.
Resource Compiler Warning RC4207
type string too long - truncated at 256
A type string exceeded the limit of 256 characters. It was truncated to 256 characters.
Resource Compiler Warning RC4208
title string too long - truncated at 256
A title string exceeded the limit of 256 characters. It was truncated to 256 characters.
Resource Compiler Warning RC4413
cannot determine file type for ’filename’ : assuming 8-bit ASCII










