I tried my own int 3 code.
With your code, it catches the exception if not run inside debugger.
Thanks Elysia,
I feel we are off-topic for the original topic. However, it is always good to communicate and learn from you.
I have started a new thread and make the question more clear including the quoted MSDN resources. It is appreciated if you and others could continue discussion there. :-)
http://cboard.cprogramming.com/showt...058#post725058
regards,
George