diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-12-04 14:57:03 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-12-04 14:57:03 +0000 |
commit | cdbf4d253619a8fb24968b52a0ce6fcd501e93ef (patch) | |
tree | 4ffd98172874016cb5fd06e1fa768cd3eac3363c /cpp/demo/IcePatch2/MFC/PatchClient.cpp | |
parent | update JGoodies library versions (diff) | |
download | ice-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-x | cpp/demo/IcePatch2/MFC/PatchClient.cpp | 7 |
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) { |