It is possible that a server will encounter some error when initializing itself. Servers must attempt to notify DSOM that their activation failed, using the activate_impl_failed method. This method is called as follows:
/* tell the daemon (via SOMOA) that activation failed */ _activate_impl_failed(SOMD_SOMOAObject,&ev, SOMD_ImplDefObject, rc);Server writers should be aware, however, that until the server's SOMD_ImpldefObject has been initialized, it is not possible to call the _activate_impl_failed method on the DSOM daemon.
Note: A server program should not call activate_impl_failed once it has called impl_is_ready.