Thanks to professor ! ... ACE_Service_Config(1, 1024*1024); ACE_Service_Config::process_directive("dynamic..."); const ACE_Service_Type *svc_rec = 0; if (ACE_Service_Repository::instance(1024*1024)->find(service, &svc_rec) == -1) {} ... I do like this, that works.