Home Help Center

How to use my config file in VS 2005

bxhsixbxhsix Member Dong WangOrganization: Harbin Institute of TechnologyProject: Data transportation
Hi all! A small question!
Earlier I developed my ice program in Linux. I just set the ICE_CONFIG=./Ice_config and export ICE_CONFIG and then I could configure my ice properties.
But now my developing environment is VS 2005. How can I use my Ice_config file as before?
Thanks a lot!

Comments

  • xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Hi Dong,

    You can add --Ice.Config=/path_to_your_config to the arguments of your
    application

    or pass it to Ice::Application main

    app.main(argc, argv, "/path_to_your_config");

    Hope this help.
  • bxhsixbxhsix Member Dong WangOrganization: Harbin Institute of TechnologyProject: Data transportation
    Thanks Jose! The problem has been solved!
    Best wishes!
Sign In or Register to comment.