Teledyne LeCroy FireInspector Automation Application Programming Interface User Manual

Page 68

Advertising
background image

64

FireInspector Automation User’s Manual

CATC

Version 1.0

{

analyzer_error = analyzer_errors->GetItem(i);

TCHAR cur_error[32];

_stprintf( cur_error, _T(" %ld"), analyzer_error );

_tcscat( all_errors, cur_error );

}

if ( i>2048/32 )

_tcscat( all_errors, _T(" ...") );

}

catch ( _com_error& er)

{

if (er.Description().length() > 0)

::MessageBox( NULL, er.Description(), _T("FwAnalyzer

client"), MB_OK );

else

::MessageBox( NULL, er.ErrorMessage(),_T("FwAnalyzer

client"), MB_OK );

return 1;

}

analyzer_errors->Release();

::SetWindowText( m_hwndStatus, all_errors );

Advertising