Quote:
Originally posted by Wurstgote
I thought of using only the _disk_ space at offset 226000 to store the .mackt part, but without changing the virtual offset of the .mackt section. While loading the app, the loader would see that the section located at file-offset 22600 should go to VA 313000 in memory, so the section at VA 22600 isn't occupied and Delphi can use it for whatever it wants.
|
That's an interesting idea. I've never seen a PE header with sections set up non-sequentially like that, so I'm not positive it would work, but interesting nontheless.
There is still a solution you haven't thought of yet, though, that I think is best solution (if only because it is more conventional than your idea

).
If you feel you have exhausted your thoughts on this subject, I will explain it also. But, I like the way you
think about the situation (most people wouldn't bother), as you come up with some very creative ideas.
Regards,
Satyric0n