1 #include "orbsvcs/Log_Macros.h"
2 #include "Trading_Service.h"
3 #include "ace/OS_main.h"
5 // Driver function for the TAO Trading Service.
7 ACE_TMAIN (int argc
, ACE_TCHAR
* argv
[])
9 Trading_Service trader
;
13 int const check
= trader
.init (argc
, argv
);
20 ORBSVCS_ERROR_RETURN ((LM_ERROR
,
21 "Failed to initialize the trader.\n"),
24 catch (const CORBA::Exception
& ex
)
26 ex
._tao_print_exception ("Trading Service");