Re: which memory address space?



On Sun, 17 Jul 2005 22:28:11 +0200, Andreas Koch
<mail@xxxxxxxxxxxxxxx> wrote:

>> Try it: start the program and disconnect the cable. Does it still run?

>Ehm, did you try that?
>It should stop to run, because windows loads EXEs partially, and
>fails if the EXE gets inaccessible while the app is running.
>At least thats the way it worked with floppys ;-)

To my surprise, that seems to be true. (I thought it loaded the whole
EXE.) I wrote a 1.2MB EXE to a thumb drive, unplugged the drive,
rebooted (to clear out any cache, etc), plugged in the drive, and
executed the program from it. Then I unplugged the drive after the
main screen came up. Then many of the items on the menu would not
execute, they would say "error reading ... external error C0000006".
It would be reading things like an EditMask, etc.

Rebooting wasn't necessary - I tried it a few times just unplugging
the thumb drive, and then not unplugging the drive. Results were
consistent with it reading parts of the EXE as needed.

---
Replace you know what by j to email
.



Relevant Pages

  • Re: which memory address space?
    ... It should stop to run, because windows loads EXEs partially, and fails if the EXE gets inaccessible while the app is running. ... they would say "error reading ... ... It would be reading things like an EditMask, ... and then not unplugging the drive. ...
    (comp.lang.pascal.delphi.misc)
  • Re: which memory address space?
    ... and then not unplugging the drive. ... >> consistent with it reading parts of the EXE as needed. ...
    (comp.lang.pascal.delphi.misc)
  • Re: Scripting an EXE
    ... Actually it is my mistake to explain the behaviour of the EXE properly. ... Reading the temp files. ... Writing the temp files. ...
    (comp.lang.perl.misc)
  • Re: add exe to XPE
    ... I've been reading about it and I know all the steps to add the component to ... Should I add the .exe and in "files" the files that this exe nedds? ... > directory structure) and create a component that knows how to copy from ... > repository into target directories of your build. ...
    (microsoft.public.windowsxp.embedded)
  • Re: Scripting an EXE
    ... Actually it is my mistake to explain the behaviour of the EXE properly. ... Reading the temp files. ... Writing the temp files. ...
    (comp.lang.perl.misc)