Log in

View Full Version : SetUnhandledExceptionFilter() and win32_2.dll


deli
September 5th, 2004, 11:20
hello
i have a coding problem.
i have written a dll which sets a breakpoint on WSARecv(), mainly i followed this post.

http://ollydbg.win32asmcommunity.net/?action=vthread&topic=12 5&forum=1&page=-1
("http://ollydbg.win32asmcommunity.net/?action=vthread&topic=125&forum=1&page=-1
")

but i have a big problem, if i set a breakpoint (0xcc) in a kernel32.dll function it works well.

but if i do the same at WSARecv i catch this execption
"
0xC0000026 EXCEPTION_INVALID_DISPOSITION
"

and the execption means that i didn't return a correct value.
but i return from the exc. handler with
return EXCEPTION_CONTINUE_EXECUTION;

please give me a hint!!!!

thanks a lot

focht
September 14th, 2004, 14:32
Hi,

hard to tell from that information.
Never encountered this exception type.
Sounds like something is either messed up badly during breakpoint operation or buggy compiler generated code.

Regards