Dynamic update of a dll while preserving data and objects

From: H. Debs (no_at_spam.com)
Date: 11/29/03


Date: Sat, 29 Nov 2003 01:52:42 +0100

Is it possible to dynamically update a dll without restarting the exe?
Can one save ALL data in the process, even objects created by the dll?
If not, can one recreate those objects in the exact state before the
update? What if an object structure was updated in the new dll?

Lots of questions... Any answers?

Thanks,

Habib



Relevant Pages

  • Re: Dynamic update of a dll while preserving data and objects
    ... > Is it possible to dynamically update a dll without restarting the exe? ... If you loaded the DLL dynamically you can also unload it, ... Those references will become invalid when the DLL is unloaded. ...
    (borland.public.delphi.language.objectpascal)
  • Re: Editors
    ... some strip them on exe files by default. ... "preferred base address" and, yup, relocations are completely ... DLL files, though, aren't loaded into their own address space but are ... EXE's "entry-point", though, is not "special" in that it's just an ...
    (alt.lang.asm)
  • Re: DLL pass vector by value crash
    ... The prototype for testfunc is a by-value copy, so it has to make a copy of the value. ... Are you using static linking for either the .exe (if so, it probably won't work correctly, ... clearly using the shared CRT DLL for the DLL you are constructing. ... no crash occurs in either config. ...
    (microsoft.public.vc.mfc)
  • Re: DLL pass vector by value crash
    ... stack of the exe and may allocate default member element on the exe heap. ... If this is a dangerous situation, the simple app I set up calling testFunc() ... in a dll did not crash. ... msvcr90.dll!free and access the source code of free.c. ...
    (microsoft.public.vc.mfc)
  • Re: Using same interfaces for in-proc vs. out-proc
    ... for each server) might work better after all. ... TLB,>you reference it in VB and gain access to all ... both EXE and DLL versions must use the same source code; ...
    (microsoft.public.vc.atl)