LBase::SetErrorListDepth

#include "ltwrappr.h"

static L_UINT LBase::SetErrorListDepth (uListDepth)

L_UINT uListDepth;

/* Depth of the error list */

Sets the depth for the internal error list.

Parameter

Description

uListDepth

The new depth of the error list.

Returns

The previous size of the internal error list.

Comments

Call this function to set the depth for the internal error list. Every error that occurs will be recorded in this list. The default size is 1. Is you shrink the list, the oldest errors in the list are the first to be discarded. 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.

See Also

Functions:

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

Example

L_INT LBase__SetErrorListDepthExample()
{
	LBase LeadBase;
	LeadBase.SetErrorListDepth(5);
	
	return SUCCESS;
}