summaryrefslogtreecommitdiff
path: root/TAO/examples/OBV/Typed_Events/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/OBV/Typed_Events/client.cpp')
-rw-r--r--TAO/examples/OBV/Typed_Events/client.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/TAO/examples/OBV/Typed_Events/client.cpp b/TAO/examples/OBV/Typed_Events/client.cpp
index d4e502a26bd..5e18b4bbaf2 100644
--- a/TAO/examples/OBV/Typed_Events/client.cpp
+++ b/TAO/examples/OBV/Typed_Events/client.cpp
@@ -1,12 +1,14 @@
//$Id$
# include "Client_i.h"
+#include "ace/Argv_Type_Converter.h"
// The client program for the application.
int
-main (int argc, char **argv)
+ACE_TMAIN (int argc, ACE_TCHAR **argv)
{
+ ACE_Argv_Type_Converter convert (argc, argv);
Checkpoint_Client_i client;
@@ -14,8 +16,8 @@ main (int argc, char **argv)
"\nEvent_Types client\n\n"));
if (client.run ("Event_Types_Checkpoint",
- argc,
- argv) == -1)
+ convert.get_argc(),
+ convert.get_ASCII_argv()) == -1)
return -1;
else
return 0;