Home Comments

Ice::initialize

panicpanic Member
It would be nice if there was an Ice::initialize call that took something other than argc and argv, a vector<string> say, or a StringSeq. My thinking here is that in some cases it's useful to set up the Ice engine with parameters other than those passed in from the command line.

Or am I missing the obvious way to do this?

bye
John

Comments

  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    You can pass 0 for argc/argv, and use properties instead of command line arguments. Have a look at chapter 18 in the Ice manual for more details.
Sign In or Register to comment.