flat assembler
Message board for the users of flat assembler.
Index
> Windows > .reloc section |
Author |
|
avhohlov 06 Sep 2004, 14:13
PEDEMO.ASM includes empty .reloc section. If I remove it sample still work
Is .reloc section in PE-exe needed or no? Thanks |
|||
06 Sep 2004, 14:13 |
|
decard 06 Sep 2004, 14:28
it is not needed in standard PE executables, but DLLs need it.
|
|||
06 Sep 2004, 14:28 |
|
Tomasz Grysztar 06 Sep 2004, 14:42
Win32s needs it also for standard PE executables.
|
|||
06 Sep 2004, 14:42 |
|
vid 06 Sep 2004, 14:59
anyway, how does this relocation work? does it relocate every used offset?
|
|||
06 Sep 2004, 14:59 |
|
avhohlov 13 Sep 2004, 09:38
2Privalov
I test PE without .reloc in Win32S, it does not work. (other question, why CreateWindowEx does not work, I can call Message BoxA only, but this is insufficient now) Second question - why empty .reloc extends EXE-file from 53 to 60Kb? (PEDEMO extends from 2 to 3 Kb) And third, PEDEMO includes only second import table, pointer to first table is zero. I use debugger (TD) and disassembler (hiew) and I thiink that it use first table to correct show DLL function calls. I try to set both import table pointers to same location - it work, but is it correct or no? Thanks |
|||
13 Sep 2004, 09:38 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.