2 //=============================================================================
6 * This directory contains an example that illustrates how the ACE
7 * Service Configurator can dynamically configure an ORB and its
8 * servants from a svc.conf file.
10 * @author Doug Schmidt <d.schmidt@vanderbilt.edu>
12 //=============================================================================
15 #include "ace/Service_Config.h"
16 #include "ace/Reactor.h"
17 #include "ace/Log_Msg.h"
20 ACE_TMAIN(int argc
, ACE_TCHAR
*argv
[])
22 if (ACE_Service_Config::open (argc
, argv
) == -1
24 ACE_ERROR_RETURN ((LM_ERROR
,
29 // Run forever, performing the configured services until we
31 ACE_Reactor::run_event_loop ();