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/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,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/