summaryrefslogtreecommitdiff
path: root/TAO/examples/POA/Generic_Servant/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/POA/Generic_Servant/client.cpp')
-rw-r--r--TAO/examples/POA/Generic_Servant/client.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/TAO/examples/POA/Generic_Servant/client.cpp b/TAO/examples/POA/Generic_Servant/client.cpp
index 1c161910126..e45bee28678 100644
--- a/TAO/examples/POA/Generic_Servant/client.cpp
+++ b/TAO/examples/POA/Generic_Servant/client.cpp
@@ -4,6 +4,7 @@
#include "ace/Profile_Timer.h"
#include "ace/Read_Buffer.h"
#include "testC.h"
+#include "ace/Argv_Type_Converter.h"
ACE_RCSID(Generic_Servant, client, "$Id$")
@@ -106,21 +107,21 @@ print_stats (ACE_Profile_Timer::ACE_Elapsed_Time &elapsed_time,
int
ACE_TMAIN (int argc, ACE_TCHAR **argv)
{
+ ACE_Argv_Type_Converter convert (argc, argv);
ACE_DECLARE_NEW_CORBA_ENV;
ACE_TRY
{
// Initialize the ORB
CORBA::ORB_var orb =
- CORBA::ORB_init (argc,
- argv,
+ CORBA::ORB_init (convert.get_argc(), convert.get_ASCII_argv(),
0
ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
// Initialize options based on command-line arguments.
int parse_args_result =
- parse_args (argc, argv);
+ parse_args (convert.get_argc(), convert.get_ASCII_argv());
if (parse_args_result != 0)
return parse_args_result;