summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/examples/RtEC/Simple
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/examples/RtEC/Simple')
-rw-r--r--TAO/orbsvcs/examples/RtEC/Simple/Consumer.cpp2
-rw-r--r--TAO/orbsvcs/examples/RtEC/Simple/Consumer.h2
-rw-r--r--TAO/orbsvcs/examples/RtEC/Simple/Service.cpp6
-rw-r--r--TAO/orbsvcs/examples/RtEC/Simple/Supplier.cpp2
-rw-r--r--TAO/orbsvcs/examples/RtEC/Simple/Supplier.h2
5 files changed, 7 insertions, 7 deletions
diff --git a/TAO/orbsvcs/examples/RtEC/Simple/Consumer.cpp b/TAO/orbsvcs/examples/RtEC/Simple/Consumer.cpp
index 1e554a81916..c38b2f7a2bf 100644
--- a/TAO/orbsvcs/examples/RtEC/Simple/Consumer.cpp
+++ b/TAO/orbsvcs/examples/RtEC/Simple/Consumer.cpp
@@ -25,7 +25,7 @@ Consumer::Consumer (void)
}
int
-Consumer::run (int argc, char* argv[])
+Consumer::run (int argc, ACE_TCHAR* argv[])
{
try
{
diff --git a/TAO/orbsvcs/examples/RtEC/Simple/Consumer.h b/TAO/orbsvcs/examples/RtEC/Simple/Consumer.h
index 8641e434194..3bff4a75d1d 100644
--- a/TAO/orbsvcs/examples/RtEC/Simple/Consumer.h
+++ b/TAO/orbsvcs/examples/RtEC/Simple/Consumer.h
@@ -36,7 +36,7 @@ public:
Consumer (void);
// Constructor
- int run (int argc, char* argv[]);
+ int run (int argc, ACE_TCHAR* argv[]);
// Run the test
// = The RtecEventComm::PushConsumer methods
diff --git a/TAO/orbsvcs/examples/RtEC/Simple/Service.cpp b/TAO/orbsvcs/examples/RtEC/Simple/Service.cpp
index 7ca71673ba7..df74243932d 100644
--- a/TAO/orbsvcs/examples/RtEC/Simple/Service.cpp
+++ b/TAO/orbsvcs/examples/RtEC/Simple/Service.cpp
@@ -12,7 +12,7 @@ ACE_RCSID (EC_Examples,
const char *ior_output_file = "ec.ior";
-int parse_args (int argc, char *argv[]);
+int parse_args (int argc, ACE_TCHAR *argv[]);
int
ACE_TMAIN(int argc, ACE_TCHAR *argv[])
@@ -101,9 +101,9 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[])
// ****************************************************************
-int parse_args (int argc, char *argv[])
+int parse_args (int argc, ACE_TCHAR *argv[])
{
- ACE_Get_Opt get_opts (argc, argv, "o:");
+ ACE_Get_Opt get_opts (argc, argv, ACE_TEXT("o:"));
int c;
while ((c = get_opts ()) != -1)
diff --git a/TAO/orbsvcs/examples/RtEC/Simple/Supplier.cpp b/TAO/orbsvcs/examples/RtEC/Simple/Supplier.cpp
index 4e26cbf4ba7..a15f5690fe3 100644
--- a/TAO/orbsvcs/examples/RtEC/Simple/Supplier.cpp
+++ b/TAO/orbsvcs/examples/RtEC/Simple/Supplier.cpp
@@ -25,7 +25,7 @@ Supplier::Supplier (void)
}
int
-Supplier::run (int argc, char* argv[])
+Supplier::run (int argc, ACE_TCHAR* argv[])
{
try
{
diff --git a/TAO/orbsvcs/examples/RtEC/Simple/Supplier.h b/TAO/orbsvcs/examples/RtEC/Simple/Supplier.h
index 2587333a271..f66ac71fc29 100644
--- a/TAO/orbsvcs/examples/RtEC/Simple/Supplier.h
+++ b/TAO/orbsvcs/examples/RtEC/Simple/Supplier.h
@@ -36,7 +36,7 @@ public:
Supplier (void);
// Constructor
- int run (int argc, char* argv[]);
+ int run (int argc, ACE_TCHAR* argv[]);
// Run the test
// = The RtecEventComm::PushSupplier methods