Mail Archives: cygwin/2004/02/20/18:27:53
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 -