flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > Multiple module program |
Author |
|
vid 02 Jan 2007, 11:27
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. |
|||
02 Jan 2007, 11:27 |
|
vid 02 Jan 2007, 11:30
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.
|
|||
02 Jan 2007, 11:30 |
|
afw2004 02 Jan 2007, 11:39
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? |
|||
02 Jan 2007, 11:39 |
|
afw2004 02 Jan 2007, 11:52
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. |
|||
02 Jan 2007, 11:52 |
|
vid 02 Jan 2007, 12:05
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. |
|||
02 Jan 2007, 12:05 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.