diff options
Diffstat (limited to 'TAO/orbsvcs/examples/ImR/Advanced/client_main.cpp')
-rw-r--r-- | TAO/orbsvcs/examples/ImR/Advanced/client_main.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/TAO/orbsvcs/examples/ImR/Advanced/client_main.cpp b/TAO/orbsvcs/examples/ImR/Advanced/client_main.cpp index 838528509e6..3714c16935c 100644 --- a/TAO/orbsvcs/examples/ImR/Advanced/client_main.cpp +++ b/TAO/orbsvcs/examples/ImR/Advanced/client_main.cpp @@ -2,15 +2,18 @@ #include "TestClient.h" #include <ace/streams.h> +#include "ace/Argv_Type_Converter.h" int ACE_TMAIN(int argc, ACE_TCHAR* argv[]) { + ACE_Argv_Type_Converter convert (argc, argv); + try { - CORBA::ORB_var orb = CORBA::ORB_init(argc, argv); + CORBA::ORB_var orb = CORBA::ORB_init(convert.get_argc(), convert.get_ASCII_argv()); { - TestClient client(orb.in(), argc, argv); + TestClient client(orb.in(), convert.get_argc(), convert.get_ASCII_argv()); client.run(); } |