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.
8 ACE_TMAIN (int argc
, ACE_TCHAR
* argv
[])
10 Trading_Service trader
;
14 int check
= trader
.init (argc
, argv
);
21 ORBSVCS_ERROR_RETURN ((LM_ERROR
,
22 "Failed to initialize the trader.\n"),
25 catch (const CORBA::Exception
& ex
)
27 ex
._tao_print_exception ("Trading Service");