Sets up the object to run properly.
The pLocale string is automatically mapped to a full windows or Unix locale string.
- Parameters
-
fFlags | [IN] P6TABFLAGS Control flags |
pLocale | [IN] A standard langange tag (e.g., en_us, fr_fr, fr_ca (french canadian)). This parameter can be set to NULL, in which case a default is used. |
pStrTable | [IN] A full path to a file containing the string table on disk to operate on. Can be set to NULL, which means that the string table remains empty until a mergeStrings function call is made. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eNotFound | If the file defined by pStrTable does not already exist and createOnNew is false. |
P6R::eFail | Failed to convert the pLocale string to a value locale string supported by the system. |
P6R::eAccess | When readOnly and createOnNew are both set to true. |