LBase::GetErrorsNumber

#include "ltwrappr.h"

static L_UINT LBase::GetErrorsNumber ()

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 C++ 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.

Platforms

Win32, x64.

See Also

Functions:

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

L_INT LBase__GetErrorsNumberExample()
{
	
	LBitmap LeadBitmap;
	L_INT nErrorCount ;
	 // do your processing
	nErrorCount = LeadBitmap.GetErrorsNumber();
	
	return SUCCESS;
}