flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
vid
you can develop set of macros, which will collect list of imports. There were such macros some time ago, but they were very slow.
In my opinon, declaring imports once per project is not that much pain to make such solutions for it. |
|||
![]() |
|
vid
also note that when external symbols are declared only in main file, your module is even more reusuable. For example you can compile it to object, and then link with libraries.
|
|||
![]() |
|
afw2004
1. And what about reusable projects? (Which can not be compiled into the library due to some reasons).
2. What if my main file does not use some of the functions implemented in the project? Will they be included in object module? |
|||
![]() |
|
afw2004
Quote:
For example, I implemented framework for developing ActiveX control (like ATL). To create control it is ehough to type Code: stdcall CreateObject, \ 0, \ sizeof.CMyControl, \ CControlImpl_InterfaceMap, \ CControlImpl_TableMap But it requires also declaration of all imports used by whole framework. So using library modules in fasm requires A LOT OF TYPING. I think it is wrong. |
|||
![]() |
|
vid
Quote: 1. And what about reusable projects? (Which can not be compiled into the library due to some reasons). Quote: 2. What if my main file does not use some of the functions implemented in the project? Will they be included in object module? Quote: For example, I implemented framework for developing ActiveX control (like ATL). To create control it is ehough to type [...] but it requires also declaration of all imports used by whole framework. So using library modules in fasm requires A LOT OF TYPING. I think it is wrong. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.