Text only
|
Text with Images
The MASM Forum Archive 2004 to 2012
General Forums => The Workshop => Topic started by: 2-Bit Chip on December 31, 2009, 02:14:24 AM
Title:
EXTRN in Masm32
Post by:
2-Bit Chip
on
December 31, 2009, 02:14:24 AM
Code
Select
Expand
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>).
Title:
Re: EXTRN in Masm32
Post by:
sinsi
on
December 31, 2009, 02:19:07 AM
Maybe give it a type?
Code
Select
Expand
extrn ExitProcess:near
Title:
Re: EXTRN in Masm32
Post by:
2-Bit Chip
on
December 31, 2009, 02:21:35 AM
Thank you. I was missing:
Code
Select
Expand
:PROC
Text only
|
Text with Images