I've tried including the irvine32.lib file in my program but i still cannot link to external lib. yet i know those calls are there!!!
can anyone help me out?
My Irvine32 components are a mess, but I think something like this should work:
.486
include Irvine32.inc
includelib Irvine32.lib
includelib kernel32.lib
.code
start:
; Note that under Windows the memory must be readable so, for example,
; setting ESI to zero will result in an access violation exception.
mov esi, OFFSET start
mov ebx, 4
call DumpMem
call WaitMsg
exit
end start
Check also this thread (http://www.masm32.com/board/index.php?topic=17846.msg150356#msg150356) for a combined use of Masm32 and Irvine lib. Michael's marginally modified code works fine with the attachment:
include \masm32\include\masm32rt.inc
include \masm32\MasmBasic\IrvineMb\Irvine32Mb.inc
.code
start:
; Note that under Windows the memory must be readable so, for example,
; setting ESI to zero will result in an access violation exception.
mov esi, OFFSET start
mov ebx, 4
mov ecx, 100h
call DumpMem
call WaitMsg
exit
end start