I am new to assembly and am trying to link Irvine32 library to a program to output colored characters using SetTextColor, i am using MASM 32
.486 ; create 32 bit code
option casemap :none ; case sensitive
include \Irvine\Irvine32.inc
include \Irvine\Macros.inc
includelib \Irvine\kernel32.lib
includelib \Irvine\Irvine32.lib
ExitProcess Proto, dwExitCode:DWORD
.code ; Tell MASM where the code starts
start:
mov al,'o'
mov eax,yellow + (blue +16)
call SetTextColor
call WriteChar
INVOKE ExitProcess,0 ;endprocess once complete
end start ;Tell MASM where the program ends
when I click console assemble and link i get this error message
Irvine32.lib(Irvine32.obj) : error LNK2001: unresolved external symbol _MessageBoxA@16
cshprog4.exe : fatal error LNK1120: 1 unresolved externals
cshprog4 is the name of my program. what can i do to fix this error?