diff options
Diffstat (limited to 'TAO/examples/Event_Comm/notifier.cpp')
-rw-r--r-- | TAO/examples/Event_Comm/notifier.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/TAO/examples/Event_Comm/notifier.cpp b/TAO/examples/Event_Comm/notifier.cpp index 8e348b1df5b..d9d365d8d97 100644 --- a/TAO/examples/Event_Comm/notifier.cpp +++ b/TAO/examples/Event_Comm/notifier.cpp @@ -2,6 +2,7 @@ #include "Notifier_Server.h" #include "notifier.h" +#include "ace/Argv_Type_Converter.h" ACE_RCSID(Notifier, notifier, "$Id$") @@ -61,10 +62,11 @@ Notifier::~Notifier (void) } int -main (int argc, char *argv[]) +ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { + ACE_Argv_Type_Converter convert (argc, argv); // Initialize server daemon. - Notifier notifier (argc, argv); + Notifier notifier (convert.get_argc(), convert.get_ASCII_argv()); // Loop forever handling events. notifier.run (); |