Hello again,

I have on more question :)

I would like my project to containt code in different files, but I don't like building libraries. is it a way to
link several .asm files as I see in Radasm IDE not silly including them as 'include somefile.asm' ? I tried to do it, application compiles, but masm linker cannot find functions in somefile.asm. Is it a bug, or am I missing something. I.e all IDE's can link several files correctly :)
Posted on 2004-03-13 04:45:17 by Ulterior
Hi Ulterior

Splitting code in several asm files is what I do if the project reaches a certain size. I have never had any problems doing that. There must be something wrong with your code.

KetilO
Posted on 2004-03-13 05:15:12 by KetilO
Can you provide simple example of:

main.asm
somefile.inc
somefile.asm

with contents of lets say 1 function that is in somefile.asm and (or) declared in somefile.inc, that would
link and would load from main.asm

I would appreciate it very much :)
Posted on 2004-03-13 05:29:34 by Ulterior
Hi Ulterior

You can find many examples on my website. Just push the WWW button below.
Be aware that masm does not handle forward references. If you forward reference you must prototype.

KetilO
Posted on 2004-03-13 07:10:18 by KetilO