Sets up the component to run properly.
- Parameters
-
flags | [ in ] Set perferences for the new object |
numThreads | [ in ] Number of background threads used to support asynchronous call behavior (default is one). |
pPath | [ in ] (Optional) File path where to create and access a local database (e.g., Sqlite3). If NULL, then local databases are created in P6R's database directory (typically ".../<p6r install directory>/data/db/"). |
- Returns
Success | P6R::eOk | |
Failure | P6R::eNoMemory | Insuffficient memory to properly initialize the component |
P6R::eAlreadyInitialized | Can only be called once successfully. |