TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: CHARLIE GIBBS
from: =?UTF-8?Q?BJ=C3=B6RN_LUND
date: 2018-07-11 13:21:00
subject: Re: When to reboot?

On 2018-07-10 19:24, Charlie Gibbs wrote:
> On 2018-07-10, Martin Gregorie  wrote:
>
>> ... a seemingly little-known fact, applicable to all Unices, Linuxes
>> and  (IIRC) BSD derivatives, is that you can delete an open file while
>> a program is using it without any bad effects. The same applies to the
>> executable file itself.
>
> [explanation snipped]
>
> This makes it trivially easy to update a running program.  On the other
> hand, one of the most FA'd of Qs in Windows discussion groups is how
> to update a running program.  Answers tend to go through horrendously
> convoluted explanations, invariably involving a reboot, before generally
> settling on the simplified answer: you can't.  It's a total pain in the ass.
>

You can. Almost the same way as for unix.
True, you cannot overwrite a running windows program, or a dll that
someone is using. But you can RENAME it. And then put the new version
of the exe/dll. Just as for unix, the new version in not used until
reloaded. Restart exe or restart all exes using a particular dll.
Of course, you need to delete the old renamed file yourself.
And finding all processes using a particular dll may be hard.
So a reboot will fix that for yuo on windows too.

--
--
Björn

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.