Re: Replace exe and dll in use
r_z_aret_at_pen_fact.com
Date: 06/16/04
- Next message: Mike Johnston: "Re: bug in time() related to DST?"
- Previous message: Simon Trew: "Re: to fill a vector"
- In reply to: Viviana Vc: "Re: Replace exe and dll in use"
- Next in thread: Slobodan Brcin \(eMVP\): "Re: Replace exe and dll in use"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 16 Jun 2004 11:48:57 -0400
On Mon, 14 Jun 2004 13:02:01 +0200, Viviana Vc <vcotirlea@hotmail.com>
wrote:
>On Thu, 10 Jun 2004 14:07:22 -0400, r_z_aret@pen_fact.com wrote :
>
>>On Tue, 08 Jun 2004 13:03:40 +0200, Viviana Vc <vcotirlea@hotmail.com>
>>wrote:
clip
>>>2) My product has a dll that is used by multimple application from the
>>>system. Is there any way in which I could update this dll (without
>>>killing all the exe that have loaded this dll)? Or this is doable only
>>>over a reboot?
>>
>>How about renaming the old DLL, copying in (or renaming) the
>>replacement, and letting each program start using the new version
>>whenever it restarted?
>
>Upss, I didn't know that I could rename a dll that is already loaded by
>some applications! Because I couldn't replace it I thought that also
>renaming will fail. Seems not. And the same if for the running exes.
>But in the dll case, as I don't know all the app that have loaded it, so
>I can not restart only those, I will need a reboot anyhow, so I could
>also use the MoveFileEx right?
>
>>
Rename is a special case of Move. I use MoveFile, not MoveFileEx. And
not for anything tricky. So I'm quite sure you're getting better info
about MoveFileEx in another set of responses.
-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).
Robert E. Zaret, eMVP
PenFact, Inc.
500 Harrison Ave., Suite 3R
Boston, MA 02118
www.penfact.com
- Next message: Mike Johnston: "Re: bug in time() related to DST?"
- Previous message: Simon Trew: "Re: to fill a vector"
- In reply to: Viviana Vc: "Re: Replace exe and dll in use"
- Next in thread: Slobodan Brcin \(eMVP\): "Re: Replace exe and dll in use"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|