1 2 3 4 5 6 7 8 9 10 11 12 13 |
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 ); } } |