Specifications
Resource Compiler Messages Page 22 of 24
you have used a #define constant to specify the value and that the constant is spelled correctly.
Expected numeric constant in string table
A numeric constant, defined in a #define statement, must immediately follow the BEGIN
keyword in a STRINGTABLE statement.
Expected numeric point size
The pointsize field of the FONT option in the DIALOG statement must be an integer point size
value.
Expected numerical dialog constant
A DIALOG statement requires integer values for the x, y, width, and height fields. Make sure
that these values are included after the DIALOG keyword and that they are not negative.
Expected string in STRINGTABLE
A string is expected after each stringid value in a STRINGTABLE statement.
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.
Expecting number for ID
Expecting a number for the id field of a control statement in the DIALOG statement. Make sure
you have a number or #define statement for the control ID.
Expecting quoted string in dialog class
The class field of the CLASS option in the DIALOG statement must be an integer or a string,
enclosed in double quotation marks.
Expecting quoted string in dialog title
The captiontext field of the CAPTION option in the DIALOG statement must be an ASCII
character string enclosed in double quotation marks.
File not found: filename
The file specified in the RC command line was not found. Check to see whether the file has been
moved to another directory and whether the filename or path is typed correctly. Files are
searched for using the INCLUDE environment variable or the Visual Workbench setting, if
available.
Font names must be ordinals
The pointsize field in the FONT statement must be an integer, not a string.
Invalid accelerator
An event field in the ACCELERATORS statement was not recognized or was more than two
characters in length.
Invalid accelerator type (ASCII or VIRTKEY)
The type field in the ACCELERATORS statement must contain either the ASCII or VIRTKEY
value.
Invalid control character
A control character in the ACCELERATORS statement is invalid. A valid control character
consists of one letter (only) following a caret (^).
Invalid control type
Each control statement in a DIALOG statement must be one of the following: CHECKBOX,
COMBOBOX, CONTROL, CTEXT, DEFPUSHBUTTON, EDITTEXT, GROUPBOX,
ICON, LISTBOX, LTEXT, PUSHBUTTON, RADIOBUTTON, RTEXT, SCROLLBAR.
Make sure these control statements are spelled correctly.
Invalid type
The resource type was not among the types defined in the WINDOWS.H file.
Text string or ordinal expected in control
The text field of a CONTROL statement in the DIALOG statement must be either a text string
or an ordinal reference to the type of control is expected. If using an ordinal, make sure that you










