I am a beginner in assembly. I install masm32..... Getting the .obj file worked perfectly, but when I tried to link it(turn it into .exe file) I got 4 errors. This is my code: `
.386
.model flat,stdcall
option casemap :none
include \masm32\include\windows.inc
include \masm32\include\kernel32.inc
include \masm32\include\masm32.inc
includelib \masm32\include\kernel32.lib
includelib \masm32\include\masm32.lib
.data
HelloWorld db "Hello World!",0
.code
start:
invoke StdOut, addr HelloWorld
invoke ExitProcess,0
end start`
, and here are the errors that I got: `
Hello.obj : warning LNK4033: converting object format from OMF to COFF
Hello.obj : error LNK2001: unresolved external symbol _StdOut@4
Hello.obj : error LNK2001: unresolved external symbol _ExitProcess@4
LINK : error LNK2001: unresolved external symbol _mainCRTStartup
Hello.exe : fatal error LNK1120: 3 unresolved externals
I really don't know what could be the problem, can someone help?