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::DisplayErrorFromList

Show in webframe

#include "ltwrappr.h"

static L_VOID LBase::DisplayErrorFromList (hWndParent=NULL, uIndex=LEAD_LAST_ERROR)

HWND hWndParent;

/* window handle of the parent window */

L_UINT uIndex;

/* index of the recorded error code */

Displays the error string for the error code indexed by uIndex.

Parameter

Description

hWndParent

Window handle of the parent window of the errors dialog.

uIndex

Index into the list of recorded error codes. Pass the index of the recorded error code to display its string. If an invalid index is specified, the last error recorded will be displayed.

Returns

None

Comments

Call this function to display the error string for the error code indexed by the specified index. The internal error list maintains a running list of the errors that have occurred in the LEADTOOLS C++ Class Library functions.

Note: If the error code in the internal error list is not a valid LEADTOOLS error code, the message that is displayed will be "Not a LEADTOOLS error code".

Note: If the internal error list is empty, the message that is displayed will be "Success".

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::GetErrorsNumber, LBase::DisplayErrorList, Class Members

Example

For an example, refer to LBase::GetErrorFromList.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.