News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

EXTRN in Masm32

Started by 2-Bit Chip, December 31, 2009, 02:14:24 AM

Previous topic - Next topic

2-Bit Chip

extrn ExitProcess

.code
push 0
call ExitProcess


How does this not work? It refuses to assemble even when I turn off linking (ML.exe /c /coff <file.asm>).

sinsi

Maybe give it a type?
extrn ExitProcess:near
Light travels faster than sound, that's why some people seem bright until you hear them.

2-Bit Chip

Thank you. I was missing:
:PROC