diff options
Diffstat (limited to 'TAO/examples/Simple/echo/client.cpp')
-rw-r--r-- | TAO/examples/Simple/echo/client.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/TAO/examples/Simple/echo/client.cpp b/TAO/examples/Simple/echo/client.cpp index f2aa863069b..e684030e64e 100644 --- a/TAO/examples/Simple/echo/client.cpp +++ b/TAO/examples/Simple/echo/client.cpp @@ -1,21 +1,22 @@ //$Id$ # include "Echo_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); Echo_Client_i client; - ACE_DEBUG ((LM_DEBUG, "\nEcho client\n\n")); if (client.run ("Echo", - argc, - argv) == -1) + convert.get_argc(), + convert.get_ASCII_argv()) == -1) return -1; else return 0; |