LBase::DisplayErrorFromList

#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.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C++ Class Library Help