flat assembler
Message board for the users of flat assembler.
Index
> Main > Import section problem |
Author |
|
omega_red 07 Sep 2004, 16:05
OK, it's because the imported function was unreferenced. But how to force FASM to generate such unreferenced imports?
_________________ Vulnerant omnes, ultima necat |
|||
07 Sep 2004, 16:05 |
|
crc 07 Sep 2004, 16:23
Shouldn't you have the imports in an idata section? (Maybe you already set this up with macros, I don't know...)
Code: section '.idata' import data readable writeable |
|||
07 Sep 2004, 16:23 |
|
Tomasz Grysztar 07 Sep 2004, 17:15
The symbol does not necessarily need to be referenced in code to make assembler think it is "used", the other way is to do some definition like:
Code: use = ExitProcess |
|||
07 Sep 2004, 17:15 |
|
omega_red 07 Sep 2004, 17:36
Thanks, the 'use' example did the trick.
|
|||
07 Sep 2004, 17:36 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.