Re: Technical Delphi Question (but not about coding)



Scott, Dave, and Lauchlan...

Thanks very much for your proferred solutions, am sure those work
nicely, and am sure we could implement similar solutions without too
much difficulty...

I guess I'm really asking what really would happen if we did the rename
as I explained...I'm trying to understand the Windows memory management
model (with regards to relocating, resources, etc) in conjuction with
Delphi apps...

Thanks for your input.
Marc

Marc wrote:
>
> Hi,
>
> This question is indeed technical, but not related to development per
> se.
>
> Every once in a while we need to update the binary at a client's
> location. Since the app is deployed on a WAN with several hundred users
> logged on, it would be somewhat difficult to have everyone log out
> during the day before we can release the new binary. Sure, we can
> always wait till some ungodly time in the wee hours to deploy, but
> sometimes a critical fix needs to be deployed quickly; the sooner the
> better.
>
> Windows 2003 Server (and others) allow users to rename a running EXE.
>
> What would be the effect of renaming a currently running EXE and
> replacing it with the newer version?
>
> How does Windows on client stations handle the fact that the PE image of
> the process in local memory has been changed from underneath it? Will
> loading/reloading of resources from the original EXE cause problems? Do
> Delphi apps manage resource loading differently than other apps? Does
> the server serving up the EXE somehow store the entire binary image on
> the server's memory?
>
> We do not use DLLs and my understanding that EXEs are not relocatable,
> so that shouldn't even factor in this scenario, right? Our only concern
> was that of the [re]loading of resources from a binary that will most
> likely have a different image size...
>
> Trying to get a feel of the whole thing,
>
> Thanks,
> M
.



Relevant Pages

  • Re: Technical Delphi Question (but not about coding)
    ... > Windows 2003 Server allow users to rename a running EXE. ... > loading/reloading of resources from the original EXE cause problems? ... > Delphi apps manage resource loading differently than other apps? ... It might be worth investigating to what extent the third party web update ...
    (borland.public.delphi.non-technical)
  • Technical Delphi Question (but not about coding)
    ... Windows 2003 Server allow users to rename a running EXE. ... the process in local memory has been changed from underneath it? ... loading/reloading of resources from the original EXE cause problems? ... Delphi apps manage resource loading differently than other apps? ...
    (borland.public.delphi.non-technical)
  • Re: ERROR_RESOURCE_TYPE_NOT_FOUND error comes
    ... Made DLL which contains resources like dialog, ... Made a static lib project which contains classes for resources ... This control is populated by lib classes. ... locale ID, and if not found, is defaulted to the app .exe itself. ...
    (microsoft.public.vc.mfc)
  • Re: .Net executable shows fine for some, as DOS .exe for others
    ... No, your fix sounds accurate and makes sense, however I don't understand why ... same issue when I deployed web apps -- even precompiled ones. ... Once I moved the .exe to a new folder where the users DID have write ...
    (microsoft.public.dotnet.general)
  • Re: How to load resorces of a form that is not loaded
    ... But I don't need to update the exe when the exe is already running. ... I have to add the resources at compilation, when I have the resources that I ... picture on a form) using the VB resource editor, ...
    (microsoft.public.vb.general.discussion)