cant get a final exception handler to work.
heres my code



start:

; #########################################################################

PUSH OFFSET FINAL_HANDLER
CALL SetUnhandledExceptionFilter


int 3
invoke GetModuleHandle, NULL
mov hInstance, eax



FINAL_HANDLER proc
local exp :EXCEPTION_POINTERS

invoke UnhandledExceptionFilter,addr exp

lea eax,exp
mov ebx,[eax]

invoke dw2hex,ebx,addr dhexbvuff
invoke MessageBox, NULL, addr dhexbvuff, ADDR OurText, MB_OK or MB_ICONINFORMATION
invoke ExitProcess,0
ret
FINAL_HANDLER endp
Posted on 2002-07-16 20:06:16 by Qages
im using a tutorial, but my code isnt working.
Posted on 2002-07-16 21:53:46 by Qages
.
Posted on 2002-07-17 02:37:52 by comrade