delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/20/18:27:53

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Server-Uuid: 0A4F2A26-D23B-4C5A-98BA-1B421465C24E
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: tar and open files
Date: Fri, 20 Feb 2004 17:27:28 -0600
Message-ID: <F67AB1DD14544242BE5BFE94F5939175B7F298@E2KMEMMCS1.ftbco.ftn.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "DePriest, Jason R." <jrdepriest AT ftb DOT com>
To: cygwin AT cygwin DOT com
X-OriginalArrivalTime: 20 Feb 2004 23:27:29.0184 (UTC) FILETIME=[1B3C5A00:01C3F809]
X-WSS-ID: 6C28486A2GK4408101-02-01
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i1KNRoOC030680

For a DLL, does just unregistering the DLL do what you need?  I mean,
running 'regsvr32 /u <dll>', put new file in place, run 'regsvr32
<dll>'?

-Jason

> -----Original Message-----
> From: cygwin-owner at cygwin dot com 
> [mailto: cygwin-owner at cygwin dot com] On Behalf Of Igor
Pechtchanski
> Sent: Friday, February 20, 2004 5:02 PM
> To: Steven Hartland
> Cc: cygwin at cygwin dot com
> Subject: Re: tar and open files
> 
> 
> On Fri, 20 Feb 2004, Steven Hartland wrote:
> 
> > Does anyone know of a way of getting round the file locking 
> in win32 /
> > cygwin so that in use files e.g. dll's can be replaced and 
> next time the
> > app restarts they are picked up?
> >     Steve
> 
> Setup.exe uses the Windows "replace-on-reboot" feature for this.  If
> you're interested in how this works, see the setup.exe 
> sources or MSDN.
> AFAIK, there's no other way to do a delayed replace of in-use files on
> Windows, but I've been known to err...
> 	Igor
> -- 
> 				http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_		pechtcha at cs dot nyu dot edu
> ZZZzz /,`.-'`'    -.  ;-;;,_		igor at watson dot ibm dot com
>      |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
>     '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
> 
> "I have since come to realize that being between your mentor 
> and his route
> to the bathroom is a major career booster."  -- Patrick Naughton
> 
> 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019