Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
P6API P6ERR P6CCALL P6R::p6InitializeLoader ( p6IDataStream *  pLogSink,
P6INT32  nVerbosity,
P6SCLF  fFlags 
)

Initializes the component loader.

This function must be called succesfully before any other loader function.

Parameters
pLogSinkAn optional p6IDataStream to be used by the loader to log errors. The loader will ensure that calls to the data stream's processStream() method will be serialized, therefore, this data stream is not required to be thread-safe.
nVerbosityLog message verbosity. See specific component documentation for values.
fFlagsComponent loader flags:
  • P6SCLF_NOFLAGS
  • P6SCLF_LOADALL Loads all DLLs during initialize
  • P6SCLF_DBGLOG Enables DEBUG level log messages
  • P6SCLF_INFLOG Enables informational log messages
  • P6SCLF_WRNLOG Enables warning level log messages
  • P6SCLF_ALLLOG Enable all level of log messages
  • P6SCLF_NOUNLOAD Debug setting used to keep DLLs in memory to keep symbols resident for debugging.
Returns
SuccessP6R::eOk 
FailureP6R::eAlreadyInitializedThis method has already been successfully called.
Any Valid P6ERRThis method may return other P6ERR values which can be found in p6err.h