cx_try
{
ximage->Decode( _m_pbyRead + jpgInfo.unPointerStart, jpgInfo.unSize, CXIMAGE_FORMAT_JP2 );
}
cx_catch
{
if ( strcmp(message,"") )
{
TCHAR szMessage[255];
CAnyString::MBCS2Unicode( message, szMessage );
theLog( CAnyLog::LOG_ERROR, szMessage );
}
}
너무 쉬운 내용인데도 항상 잊기에 한번 써본다. ㅠ,.ㅠ
'2010/03/05'에 해당되는 글 1건
- 2010/03/05 CxImage에서 try catch를 사용하는 방법




댓글을 달아 주세요