I tried my own int 3 code.
With your code, it catches the exception if not run inside debugger.
This is a discussion on string operation and related exception within the C++ Programming forums, part of the General Programming Boards category; I tried my own int 3 code. With your code, it catches the exception if not run inside debugger....
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. :-)