Called by the framework when it wants your component to start.
int Start(ComponentEntry *pEntry);
Pointer to the ComponentEntry object that is being asked to start.
Return ERROR_SUCCESS (0) to indicate your component started successfully. Any other value indicates an error.
None
int Start(ComponentEntry* Entry) { if ( !ReadConfiguration() || !StartDatabase() ) { return 1; } return ERROR_SUCCESS; }