Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / tests / Exposed_Policies / client.cpp
blob5b0942d2b47b9e47b137f17ba9730f9141b76a7e
1 // -- App. Specific Include --
2 #include "CounterC.h"
3 // #include "util.h"
5 // -- App. Specific Include --
6 #include "Policy_Verifier.h"
8 #include "tao/Strategies/advanced_resource.h"
10 int
11 ACE_TMAIN(int argc, ACE_TCHAR *argv[])
13 int status = 0;
15 try
17 Policy_Verifier policy_verifier;
19 bool retval = policy_verifier.init (argc, argv);
21 if (retval)
23 policy_verifier.run ();
25 else
27 ++status;
30 catch (const CORBA::Exception& ex)
32 ex._tao_print_exception ("CORBA Exception Raised");
33 ++status;
37 return status;