diff options
Diffstat (limited to 'TAO/tests/POA/MT_Servant_Locator/MT_Servant_Locator.cpp')
-rw-r--r-- | TAO/tests/POA/MT_Servant_Locator/MT_Servant_Locator.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/TAO/tests/POA/MT_Servant_Locator/MT_Servant_Locator.cpp b/TAO/tests/POA/MT_Servant_Locator/MT_Servant_Locator.cpp index 11d740642cd..59ede0a423d 100644 --- a/TAO/tests/POA/MT_Servant_Locator/MT_Servant_Locator.cpp +++ b/TAO/tests/POA/MT_Servant_Locator/MT_Servant_Locator.cpp @@ -20,6 +20,7 @@ #include "testS.h" #include "ace/Task.h" #include "ace/Auto_Event.h" +#include "ace/Argv_Type_Converter.h" #include "tao/PortableServer/ServantLocatorC.h" #include "tao/CDR.h" @@ -246,15 +247,17 @@ overwrite_servant_manager (PortableServer::POA_ptr poa) } int -main (int argc, char **argv) +ACE_TMAIN (int argc, ACE_TCHAR **argv) { + ACE_Argv_Type_Converter convert (argc, argv); + int retval = 0; ACE_TRY_NEW_ENV { 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; |