Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 12-15-2005
kan kan is offline
Registered User
 
 
Join Date: Oct 2005
Posts: 9
how to replace file-in-use

Although my problem is not directly related to ICE. but while I am thinking about how to use IcePatch2, I have to face the problem.

If anyone here has once used IcePatch2. can you give me a hint about how to replace file-in-use gracefully?

Thanks

Kan
__________________
Kan Pang
http://www.chinaTMN.com
network management with ICE
Reply With Quote
  #2 (permalink)  
Old 12-15-2005
matthew's Avatar
matthew matthew is online now
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,060
By in-use you mean files that are served by IcePatch2? If so, you have to shutdown the icepatch server, replace the file, recalculate the checksums and restart.
Reply With Quote
  #3 (permalink)  
Old 12-16-2005
kan kan is offline
Registered User
 
 
Join Date: Oct 2005
Posts: 9
Quote:
Originally Posted by matthew
By in-use you mean files that are served by IcePatch2? If so, you have to shutdown the icepatch server, replace the file, recalculate the checksums and restart.
Matthew, here I do not mean files used by icepatch server, but by our application. When I replicated files from server to distributed clients, i hope to find a way to replace file-in-use without complicated design. I heard that microsoft has some tools such as inuse, zap to replace system file-in-use, but i tried, not work for my running exe file.
__________________
Kan Pang
http://www.chinaTMN.com
network management with ICE
Reply With Quote
  #4 (permalink)  
Old 12-16-2005
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,540
Hi,

I recommend to ask such a question on the Microsoft newsgroups instead. I'm not aware of any easy way to do this. One solution could be to copy the files to another location and use this copy. This would allow you to overwrite the original files.

Benoit.
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
is there any example for transmitting a file using ICE nyingchi Help Center 1 09-15-2006 04:43 AM
Any Example that do file transfer out there alexm Help Center 2 04-06-2006 06:31 PM
how can i compile ice file in vc6 IDE ? memorialday Help Center 2 11-22-2005 08:05 AM
File datatype nsns Comments 4 11-05-2004 09:42 PM
Replace Freeze by PostgreSQL caricand Help Center 2 07-14-2003 12:34 PM


All times are GMT -4. The time now is 10:10 PM.


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.