LBase::RecordError

Summary

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

Syntax

#include "ltwrappr.h"

static L_VOID LBase::RecordError (nErrorCode)

Parameters

L_INT 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

Platforms

Win32, x64.

See Also

Example

L_INT LBase__RecordErrorExample() 
{ 
	LBase Base; 
	 
	Base.RecordError(WRPERR_BITMAP_NOT_ALLOCATED); 
	Base.DisplayErrorFromList(); 
 
	return SUCCESS; 
} 
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.