The MESSAGETABLE resource-definition statement 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
- 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.
Example
The following example specifies a MESSAGETABLE resource:
1 MESSAGETABLE MSG00409.bin
See Also
- Message Compiler
- STRINGTABLE
Send comments about this topic to Microsoft
Build date: 7/30/2009