summaryrefslogtreecommitdiff
path: root/cpp/demo/IcePatch2/MFC/PatchClient.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2005-08-31 12:46:54 +0000
committerDwayne Boone <dwayne@zeroc.com>2005-08-31 12:46:54 +0000
commit82ec6313da4939fe79b5829d0734dd3649c7894c (patch)
tree1fade47e4620d49fea43dc865305450200aa8462 /cpp/demo/IcePatch2/MFC/PatchClient.cpp
parentadding obfuscate target (diff)
downloadice-82ec6313da4939fe79b5829d0734dd3649c7894c.tar.bz2
ice-82ec6313da4939fe79b5829d0734dd3649c7894c.tar.xz
ice-82ec6313da4939fe79b5829d0734dd3649c7894c.zip
Added "Remove Orphans" checkbox. No command line arguments for patch.exe.
Diffstat (limited to 'cpp/demo/IcePatch2/MFC/PatchClient.cpp')
-rwxr-xr-xcpp/demo/IcePatch2/MFC/PatchClient.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/cpp/demo/IcePatch2/MFC/PatchClient.cpp b/cpp/demo/IcePatch2/MFC/PatchClient.cpp
index 7533d60277e..66abeb27f8c 100755
--- a/cpp/demo/IcePatch2/MFC/PatchClient.cpp
+++ b/cpp/demo/IcePatch2/MFC/PatchClient.cpp
@@ -56,11 +56,9 @@ CPatchClientApp::InitInstance()
}
Ice::PropertiesPtr properties = communicator->getProperties();
- CString path = properties->getPropertyWithDefault("IcePatch2.Endpoints", "").c_str();
- if(path.IsEmpty())
+ if(properties->getProperty("IcePatch2.Endpoints").empty())
{
- AfxMessageBox(CString("Please run with the --IcePatch2.Endpoints option."), MB_OK|MB_ICONEXCLAMATION);
- return FALSE;
+ properties->setProperty("IcePatch2.Endpoints", "tcp -h 127.0.0.1 -p 10000");
}
CPatchDlg dlg(communicator);