diff options
Diffstat (limited to 'cpp/demo/Ice/hello/Client.cpp')
-rw-r--r-- | cpp/demo/Ice/hello/Client.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/demo/Ice/hello/Client.cpp b/cpp/demo/Ice/hello/Client.cpp index a0819f5dd46..f75e749047d 100644 --- a/cpp/demo/Ice/hello/Client.cpp +++ b/cpp/demo/Ice/hello/Client.cpp @@ -171,8 +171,9 @@ main(int argc, char* argv[]) try { - Ice::PropertiesPtr properties = Ice::createPropertiesFromFile(argc, argv, "config"); - communicator = Ice::initializeWithProperties(properties); + Ice::PropertiesPtr properties = Ice::createProperties(argc, argv); + properties->load("config"); + communicator = Ice::initializeWithProperties(argc, argv, properties); status = run(argc, argv, communicator); } catch(const Ice::Exception& ex) |