Specifications

Resource Compiler Messages Page 23 of 24
have a #define statement for the control.
Mismatched parentheses
Make sure you have closed every open parenthesis in the DIALOG statement.
Unexpected value in RCData
The raw-data values in the RCDATA statement must be integers or strings, each separated by a
comma. Make sure you did not leave out a comma or leave out a quotation mark around a
string.
Unknown menu subtype
The item-definition field of the MENU statement can contain only MENUITEM and POPUP
statements.
Resource Compiler Error RW2003
Generation Error
General errors can be caused by any of following conditions:
Error: Bitmap file resource-file is not in 3.00 format
Bitmaps using the Windows version 2.x format cannot be used in version 3.x resource files. The
bitmap must be redrawn or converted to 3.x format.
Error: Old DIB in resource-name.
A Device Independent Bitmap (DIB) in the specified resource is not compatible with the 3.0
format. The bitmap must be redrawn or converted to the 3.x format.
Error: Resource file resouce-name is not in 3.00 format
An icon or cursor in the specified resource used a previous format. The icon or cursor must be
redrawn or converted to the 3.x format.
Unknown DIB header format
The bitmap header is not a BITMAPCOREHEADER or BITMAPINFOHEADER structure.
Bitmap file resource file is not in 2.03 format
A bitmap used a format earlier than version 2.03. The bitmap must be converted or redrawn
using the format for version 3.00 or later.
Resource file is not in 3.00 format
A cursor or icon used a format earlier than version 3.00. The resource must be converted or
redrawn using the format for version 3.00 or later.
Unable to open temporary file
The Resource Compiler was unable to open a temporary file. The probable cause is either that
you do not have write permissions for the directory or that the directory does not exist. The
Resource Compiler attempts to use these files in the directory specified by the TMP
environment variable or the current directory if none is specified.
Resource Compiler Warning RW4001
.EXE processing options (/L /M /P /T /K /E /31 or /30)
.EXE processing options (/L /M /P /T /K /E /31 or /30) were specified when no executable file would
be processed. These options can only be used when the result is an .EXE file (not a .RES file).
Resource Compiler Warning RW4003
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.