EnableMethodErrors (ILEADRasterThumbnail) example for C++ 5.0 and later

   //disable method errors
   m_pRasterThumbnail->PutEnableMethodErrors(FALSE);