LBase::GetErrorsNumber

#include "ltwrappr.h"

static L_UINT LBase::GetErrorsNumber (L_VOID)

Retrieves the number of errors currently recorded in the error list.

Returns

>0

The number of recorded errors.

0

No errors are recorded.

Comments

Call this function to retrieve the number of errors currently recorded in the error list. The internal error list maintains a running list of the errors that have occurred in the LEADTOOLS Class Library functions.

Required DLLs and Libraries

LTKRN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Elements:

LBase::EnableAutoErrorDisplay, LBase::SetErrorString, LBase::DisplayError, LBase::GetErrorFromList, LBase::IsAutoErrorDisplayEnabled, LBase::GetErrorFromList, LBase::SetErrorListDepth, LBase::RecordError, LBase::GetErrorListDepth, LBase::ClearErrorList, LBase::DisplayErrorList, LBase::DisplayErrorFromList, Class Members

Example

LBitmap LeadBitmap;
 // do your processing

L_INT nErrorCount = LeadBitmap.
GetErrorsNumber();