Archived

This forum has been archived. Please start a new discussion on GitHub.

How to use my config file in VS 2005

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

  • xdm
    xdm La Coruña, Spain
    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.
  • Thanks Jose! The problem has been solved!
    Best wishes!