Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 03-29-2008
bxhsix 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!
Reply With Quote
  #2 (permalink)  
Old 03-29-2008
xdm's Avatar
xdm xdm is offline
ZeroC Staff
 
Name: José Gutíerrez de la Concha Martínez
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Sep 2003
Location: La Coruña, Spain
Posts: 292
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.
Reply With Quote
  #3 (permalink)  
Old 03-30-2008
bxhsix 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!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using config file with Java client Djaunl Help Center 2 03-15-2007 03:43 PM
Specifying a default locator without a config file mefoster Help Center 1 03-01-2007 06:10 AM
config file properties Greenhippo Help Center 3 01-16-2007 04:07 AM
Do 'setProperty' really set value to config file? kemp Help Center 2 07-22-2005 06:46 AM
set config properties w/o config file dkey Help Center 3 05-08-2005 06:27 AM


All times are GMT -4. The time now is 09:09 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.