Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IDBC::initialize ( P6DBCFLAGS  flags,
P6UINT32  numThreads,
const P6WCHAR pPath 
)
pure virtual

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
SuccessP6R::eOk 
FailureP6R::eNoMemoryInsuffficient memory to properly initialize the component
P6R::eAlreadyInitializedCan only be called once successfully.