First, thank you for your comments.
With your fixed code i get:
"LINK : error LNK2001: unresolved external symbol _main
Test.exe : fatal error LNK1120: 1 unresolved externals"
Thats why i was using "_main", is like LINK.EXE need some "_", xD or i dont know. I am going to use golink.exe, hehe.
I am frustrated, i cant do nothing to work, for example in:
http://stackoverflow.com/questions/1023593/how-to-write-hello-world-in-assembler-under-windowsThere is a console helloworld example in NASM, proposing to compile with:
---
nasm -fwin32 hello.asm
link /subsystem:console /nodefaultlib /entry:main hello.obj
---
That example in stackoverflow is very good rated, but in mi case, LINK.exe fails and CRASH .... i mean WTF is wrong with me, or mi pc, or radasm, or nasm, or the linker?, i tryed with more than 15 examples and in may ways.
Note: mi pc is win 7, 64bit, but i think that is not the problem.
Mi last try in this day will be with the GoLink as you suggested.
Another thing, i am interested in learning how to write an .exe from scratch without the linker (usin nasm -f bin ...). The are good examples about that?, and yes i have documentation about the PE format.