|
제가 BCB4를 쓰고 있습니다.(VCL)
예외처리를 하려 하는데
AnsiString test;
test = "abcdefghijklmn\r\n";
try
{
throw test;
}
catch (AnsiString &e)
{
ShowMessage(e);
}
위와 같은 경우도 RaiseException 을 발생 시키네요..
"raised exception AnsiString with message ' Exception Object Address: 0xd7A156' Process Stopped."
스텝 으로 디버깅하면 RaiseException 후에 ShowMessage(e) 가 호출이 되네요...
__except(...) 도 마찬가지고요...
컴파일러의 옵션이 잘못 된것인가요?
잘못된 것이면 정확한 구문을 부탁 드립니다.
|