diff options
Diffstat (limited to 'TAO/tests/POA/Etherealization/Etherealization.cpp')
-rw-r--r-- | TAO/tests/POA/Etherealization/Etherealization.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/TAO/tests/POA/Etherealization/Etherealization.cpp b/TAO/tests/POA/Etherealization/Etherealization.cpp index 1471f38f8b3..5a81ea19892 100644 --- a/TAO/tests/POA/Etherealization/Etherealization.cpp +++ b/TAO/tests/POA/Etherealization/Etherealization.cpp @@ -19,6 +19,7 @@ #include "testS.h" #include "ace/OS_NS_string.h" +#include "ace/Argv_Type_Converter.h" #include "tao/PortableServer/ServantActivatorC.h" class test_i : public POA_test @@ -117,15 +118,17 @@ Servant_Activator::etherealize (const PortableServer::ObjectId &id, } int -main (int argc, char **argv) +ACE_TMAIN (int argc, ACE_TCHAR **argv) { + ACE_Argv_Type_Converter convert (argc, argv); + ACE_DECLARE_NEW_CORBA_ENV; ACE_TRY { // Initialize the ORB first. - CORBA::ORB_var orb = CORBA::ORB_init (argc, - argv, + CORBA::ORB_var orb = CORBA::ORB_init (convert.get_argc(), + convert.get_ASCII_argv(), 0 ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; |