Re: which memory address space?
- From: Jamie <jamie_5_not_valid_after_5_Please@xxxxxxxxxxx>
- Date: Sun, 17 Jul 2005 21:47:25 -0700
Jud McCranie wrote:
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
that is because windows only reads in the EXE part, it leaves the resource on file and only accesses it as it needs it. so yes, you need to stay connected to the source of the file, but every thing happens at the point of where you are working.
-- Real Programmers Do things like this. http://webpages.charter.net/jamie_5
.
- Follow-Ups:
- Re: which memory address space?
- From: Jud McCranie
- Re: which memory address space?
- From: Marco van de Voort
- Re: which memory address space?
- From: Martin Harvey
- Re: which memory address space?
- References:
- which memory address space?
- From: Dean Atteberry
- Re: which memory address space?
- From: Tom de Neef
- Re: which memory address space?
- From: Andreas Koch
- Re: which memory address space?
- From: Jud McCranie
- which memory address space?
- Prev by Date: Re: Rotate bitmap
- Next by Date: Help reading structured binary files
- Previous by thread: Re: which memory address space?
- Next by thread: Re: which memory address space?
- Index(es):
Relevant Pages
|