summaryrefslogtreecommitdiff
path: root/TAO/tests/CDR/tc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/CDR/tc.cpp')
-rw-r--r--TAO/tests/CDR/tc.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/TAO/tests/CDR/tc.cpp b/TAO/tests/CDR/tc.cpp
index 0b814f3d523..e52531d641a 100644
--- a/TAO/tests/CDR/tc.cpp
+++ b/TAO/tests/CDR/tc.cpp
@@ -18,12 +18,13 @@
// ============================================================================
#include "tao/AnyTypeCode/TypeCode.h"
-#include "tao/AnyTypeCode/TypeCode_Constants.h"
+#include "tao/AnyTypeCode/TC_Constants_Forward.h"
#include "tao/ORB.h"
#include "tao/SystemException.h"
#include "tao/debug.h"
#include "ace/Log_Msg.h"
+#include "ace/Argv_Type_Converter.h"
ACE_RCSID (CDR,
@@ -34,12 +35,14 @@ ACE_RCSID (CDR,
// verify that CDR offers the services needed for Typecode...
int
-main (int argc, char *argv[])
+ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
+ ACE_Argv_Type_Converter convert (argc, argv);
+
ACE_TRY_NEW_ENV
{
- 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;