The STRINGTABLE statement defines one or more string resources for an application. String resources are null-terminated ASCII strings that can be loaded, when needed, from the executable file, using the WinLoadString function.
Note: The ASCII strings can include no more than 256 characters, including the NULL termination character.
The STRINGTABLE statement has the form:
─STRINGTABLE─┬────────────┬┬───────────┬─── └─loadoption─┘└─memoption─┘ ────BEGIN───string-definitions───END───String-definitions
┌─────────────────────────────────┐ │ │ │ ─────integer─────string─────────────┴──
loadoption (LOADOPTION)
PRELOAD
See Resource Load and Memory Options for a description of LOADOPTION.
FIXED
See Resource Load and Memory Options for a description of MEMOPTION.
Note: A string may be defined on more than one line if each line begins and ends with a double-quote. If newline characters are desired after each line, there should be a double-quote at the beginning of the first line and at the end of the last line only. The string may contain any ASCII characters. Because (\) is interpreted as an escape character, use (\\) to generate a (\).
The following escape sequences may be used:
Escape
Example
#define IDS_STRING1 1#define IDS_STRING2 2 #define IDS_STRING3 3 STRINGTABLE BEGIN IDS_STRING1, "The first two strings in this table are identical." IDS_STRING2, "The first two strings " "in this table are identical." IDS_STRING3, "This string will contain a newline character before it continues on this line." END