Results 1 to 3 of 3

Thread: How to use my config file in VS 2005

  1. #1
    bxhsix is offline Registered User
    Name: Dong Wang
    Organization: Harbin Institute of Technology
    Project: Data transportation
    Join Date
    Mar 2008
    Posts
    19

    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!

  2. #2
    xdm's Avatar
    xdm
    xdm is offline ZeroC Staff
    Name: Jose Gutierrez de la Concha
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Sep 2003
    Location
    La Coruņa, Spain
    Posts
    588
    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.

  3. #3
    bxhsix is offline Registered User
    Name: Dong Wang
    Organization: Harbin Institute of Technology
    Project: Data transportation
    Join Date
    Mar 2008
    Posts
    19
    Thanks Jose! The problem has been solved!
    Best wishes!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Using config file with Java client
    By Djaunl in forum Help Center
    Replies: 2
    Last Post: 03-15-2007, 02:43 PM
  2. Specifying a default locator without a config file
    By mefoster in forum Help Center
    Replies: 1
    Last Post: 03-01-2007, 05:10 AM
  3. config file properties
    By Greenhippo in forum Help Center
    Replies: 3
    Last Post: 01-16-2007, 03:07 AM
  4. Replies: 2
    Last Post: 07-22-2005, 05:46 AM
  5. set config properties w/o config file
    By dkey in forum Help Center
    Replies: 3
    Last Post: 05-08-2005, 05:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •