Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IWStrTable::initialize ( P6TABFLAGS  fFlags,
const P6CHAR pLocale,
const P6WCHAR pStrTable 
)
pure virtual

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
SuccessP6R::eOk 
FailureP6R::eNotFoundIf the file defined by pStrTable does not already exist and createOnNew is false.
P6R::eFailFailed to convert the pLocale string to a value locale string supported by the system.
P6R::eAccessWhen readOnly and createOnNew are both set to true.