Error (LEADDlgImage Control) example for C++ Builder
void __fastcall TForm1::Button1Click(TObject *Sender)
{
LEADDlgImage1->EnableMethodErrors = true;
try
{
LEADDlgImage1->ShowRotateDlg ( NULL );
}
catch (...)
{
ShowMessage("Calling ShowRotateDlg method failed\n Error No " + IntToStr(LEADDlgImage1->Error) + "\n" + LEADDlgImage1->ErrorMsg);
}
}