static L_VOID LBase::RecordError (nErrorCode)
Records one of the LEADTOOLS errors by adding it to the internal error list.
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".
None.
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.
Win32, x64.
L_INT LBase__RecordErrorExample()
{
LBase Base;
Base.RecordError(WRPERR_BITMAP_NOT_ALLOCATED);
Base.DisplayErrorFromList();
return SUCCESS;
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document