C++ 예외 처리

Code/Desktop 2014. 4. 10. 23:42

Unhandeled Exception Process


* Effective Exception Handling in Visual C++
http://www.codeproject.com/Articles/207464/Exception-Handling-in-Visual-Cplusplus

Exceptions
http://www.cplusplus.com/doc/tutorial/exceptions/


// 메시지 박스(MessageBox) 발생 안함
__try{ } __except(EXCEPTION_EXECUTE_HANDLER){ }

// MsgBox발생
try    { throw ?; } catch (int e){ }
__try{ } __finally { }


//참고
http://msdn.microsoft.com/ko-kr/library/4t3saedz.aspx
try, catch 및 throw 문
컴파일러 설정 /EHsc
Unhandled excption in .exe 0x80000001


반응형
Posted by codens


반응형