Can anyone tell wat is incorrect in this code snippet, this should handle the error i think but it's not handling it :( any help would be good thnx



start:
push Handleit
push dword [fs:0]
mov [fs:0],esp

mov eax,0x7780000
mov ax,word [eax]

cmp ax,'MZ'
je Exit

pop dword [fs:0]
add esp,0x4
Exit:
invoke ExitProcess,NULL

Handleit:
mov eax,0x1
ret
Posted on 2003-02-11 03:15:18 by keyoke