MESSAGETABLE resource

Defines the ID and file of an application's message table resource. Message tables are special string resources used in event logging and with the FormatMessage function. The file contains a binary message table generated by the message compiler, MC.EXE.

The message compiler also generates a resource script file that contains the MESSAGETABLE statements you need to include the message table resources in the compiled resource file. Use the #include directive to include this resource script into your main resource script.

nameID MESSAGETABLE filename

Parameters

nameID

Unique name or a 16-bit unsigned integer value identifying the resource.

filename

Name of the file that contains the resource. The name must be a valid file name; it must be a full path if the file is not in the current working directory.

Certain attributes are also supported for backward compatibility. For more information, see Common Resource Attributes.

Examples

The following example defines a MESSAGETABLE resource:

1  MESSAGETABLE MSG00409.bin

See also

STRINGTABLE