Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "DePriest, Jason R." 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 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit 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 ', put new file in place, run 'regsvr32 '? -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/