flat assembler
Message board for the users of flat assembler.
Index
> Windows > File Mapping |
Author |
|
f0dder 23 Mar 2005, 10:41
If you need to grow a file mapping, you must first close the handles, then do a new CreateFileMapping with the increased size. When modifying PE executables, I tend to HeapAlloc a buffer of peheader.SizeOfImage bytes, then read in the executable data like the PE loader would - this is much easier for manipulating the image file.
|
|||
23 Mar 2005, 10:41 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.