summaryrefslogtreecommitdiff
path: root/cpp/demo/IcePatch2/MFC/PatchClient.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2006-12-04 14:57:03 +0000
committerDwayne Boone <dwayne@zeroc.com>2006-12-04 14:57:03 +0000
commitcdbf4d253619a8fb24968b52a0ce6fcd501e93ef (patch)
tree4ffd98172874016cb5fd06e1fa768cd3eac3363c /cpp/demo/IcePatch2/MFC/PatchClient.cpp
parentupdate JGoodies library versions (diff)
downloadice-cdbf4d253619a8fb24968b52a0ce6fcd501e93ef.tar.bz2
ice-cdbf4d253619a8fb24968b52a0ce6fcd501e93ef.tar.xz
ice-cdbf4d253619a8fb24968b52a0ce6fcd501e93ef.zip
Changed to use Unicode
Diffstat (limited to 'cpp/demo/IcePatch2/MFC/PatchClient.cpp')
-rwxr-xr-xcpp/demo/IcePatch2/MFC/PatchClient.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/cpp/demo/IcePatch2/MFC/PatchClient.cpp b/cpp/demo/IcePatch2/MFC/PatchClient.cpp
index 1a4108e540c..7a09b34e78d 100755
--- a/cpp/demo/IcePatch2/MFC/PatchClient.cpp
+++ b/cpp/demo/IcePatch2/MFC/PatchClient.cpp
@@ -46,7 +46,12 @@ CPatchClientApp::InitInstance()
Ice::CommunicatorPtr communicator;
try
{
- communicator = Ice::initialize(__argc, __argv);
+ Ice::StringSeq args;
+ for(int i = 0; i < __argc; ++i)
+ {
+ args.push_back(IceUtil::wstringToString(__wargv[i]));
+ }
+ communicator = Ice::initialize(args);
}
catch(const IceUtil::Exception& ex)
{