EnableMethodErrors Example for C++ Builder
LEADMrc1->EnableMethodErrors = True;
try
{
LEADMrc1->Load(LEADImage1, "c:\\testT44.mrc", 1);
}
catch (ELEADMRCError* ex)
{
ShowMessage("File load failed\nError No " + IntToStr(LEADMrc1->Error, ErrorMsg) + "\n" + LEADMrc1->ErrorMsg);
}