Overview

This section details the source text resource file format, and is a useful reference for developers in C++ and OPL.

Topics covered include: the lexical conventions obeyed, the C++ pre-processor statements supported, and a description of the native resource compiler statements.

Changes since v5

Note the following changes since v5:

  • UTF8 encoding can be used in source files to represent Unicode values.

  • TEXT resources have been deprecated: you should use LTEXT instead.

  • Binary compatible is broken with Unicode resource files prepared with v5. The handling of Unicode string resources (TEXT16 and LTEXT16) has changed to ensure that the Unicode characters are aligned to a multiple of 2 bytes when the resource is used.

  • The < number > syntax for using special character codes expects a Unicode character value if a Unicode resource is being created. The < number > syntax cannot be used to specify individual 8-bit values in Unicode resource files.