Merge pull request #2303 from jwillemsen/jwi-803
[ACE_TAO.git] / TAO / orbsvcs / tests / InterfaceRepo / IDL3_Test / client.cpp
blob11539ae78d5df6ca5969f812b976a8be7ec385f3
1 // -*- C++ -*-
2 #include "idl3_client.h"
4 int
5 ACE_TMAIN(int argc, ACE_TCHAR *argv[])
7 IDL3_Client client;
9 try
11 if (client.init (argc,
12 argv)
13 == -1)
15 return 1;
17 else
19 int status = client.run ();
21 if (status == -1)
23 return 1;
27 catch (const CORBA::Exception& ex)
29 ex._tao_print_exception ("Client Exception");
30 return -1;
33 return 0;