summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/MFC/client/HelloClient.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2005-03-03 19:30:02 +0000
committerDwayne Boone <dwayne@zeroc.com>2005-03-03 19:30:02 +0000
commit1bcd262719e5fd1008e30ab9f4987e1ceac9bc21 (patch)
tree803e4a341916a037f037bf2ef864ef0bd22a1648 /cpp/demo/Ice/MFC/client/HelloClient.cpp
parent*** empty log message *** (diff)
downloadice-1bcd262719e5fd1008e30ab9f4987e1ceac9bc21.tar.bz2
ice-1bcd262719e5fd1008e30ab9f4987e1ceac9bc21.tar.xz
ice-1bcd262719e5fd1008e30ab9f4987e1ceac9bc21.zip
Use config files
Diffstat (limited to 'cpp/demo/Ice/MFC/client/HelloClient.cpp')
-rw-r--r--cpp/demo/Ice/MFC/client/HelloClient.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/cpp/demo/Ice/MFC/client/HelloClient.cpp b/cpp/demo/Ice/MFC/client/HelloClient.cpp
index e50424e35e7..0ed631775c3 100644
--- a/cpp/demo/Ice/MFC/client/HelloClient.cpp
+++ b/cpp/demo/Ice/MFC/client/HelloClient.cpp
@@ -47,10 +47,7 @@ CHelloClientApp::InitInstance()
{
int argc = 0;
Ice::PropertiesPtr properties = Ice::createProperties();
- properties->setProperty("Ice.Plugin.IceSSL", "IceSSL:create");
- properties->setProperty("IceSSL.Client.CertPath", "../../../../certs");
- properties->setProperty("IceSSL.Client.Config", "sslconfig.xml");
-
+ properties->load("config");
communicator = Ice::initializeWithProperties(argc, 0, properties);
}
catch(const IceUtil::Exception& ex)