Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

LBase::RecordError

Show in webframe

#include "ltwrappr.h"

static L_VOID LBase::RecordError (nErrorCode)

L_INT nErrorCode;

/* a LEADTOOLS error code */

Records one of the LEADTOOLS errors by adding it to the internal error list.

Parameter

Description

nErrorCode

One of the LEADTOOLS error codes. You can also record your own error code number. However, when displaying errors from the internal list, if the error code is not a valid LEADTOOLS error code, the message displayed will be "Not a LEADTOOLS error code".

Returns

None

Comments

Call this function to record one of the LEADTOOLS errors by adding it to the internal 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::GetErrorString, LBase::DisplayErrorFromList, LBase::DisplayError, LBase::IsAutoErrorDisplayEnabled, LBase::GetErrorFromList, LBase::SetErrorListDepth, LBase::SetErrorString, LBase::GetErrorListDepth, LBase::ClearErrorList, LBase::GetErrorsNumber, LBase::DisplayErrorList, Class Members

Example

L_INT LBase__RecordErrorExample()
{
        LBase Base;
        
        Base.RecordError(WRPERR_BITMAP_NOT_ALLOCATED);
        Base.DisplayErrorFromList();
        return SUCCESS;
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.