CORBA::Object_ptr TAO_DLL_Parser::parse_string (const char *ior, CORBA::ORB_ptr orb) { // Skip the prefix, we know it is there because this method in only // called if <match_prefix> returns 1. const char *name = ior + sizeof (::dll_prefix) - 1; TAO_ORB_Core *oc = orb->orb_core (); TAO_Object_Loader *loader = ACE_Dynamic_Service<TAO_Object_Loader>::instance (oc->configuration(), name); if (loader == 0) { throw CORBA::INV_OBJREF (CORBA::SystemException::_tao_minor_code ( 0, EINVAL), CORBA::COMPLETED_NO); } return loader->create_object (orb, 0, 0); }