diff options
Diffstat (limited to 'cpp/demo/Ice/MFC/client/HelloClient.cpp')
-rw-r--r-- | cpp/demo/Ice/MFC/client/HelloClient.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cpp/demo/Ice/MFC/client/HelloClient.cpp b/cpp/demo/Ice/MFC/client/HelloClient.cpp index cdd3aa72021..e50424e35e7 100644 --- a/cpp/demo/Ice/MFC/client/HelloClient.cpp +++ b/cpp/demo/Ice/MFC/client/HelloClient.cpp @@ -46,7 +46,12 @@ CHelloClientApp::InitInstance() try
{
int argc = 0;
- communicator = Ice::initialize(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");
+
+ communicator = Ice::initializeWithProperties(argc, 0, properties);
}
catch(const IceUtil::Exception& ex)
{
|