#include "l_bitmap.h"
L_LTKRN_API L_INT L_EnableLicenseLogging(bEnable, pszLogFile)
Enables or disabled LEADTOOLS runtime license logging.
TRUE to enable license logging; FALSE to disable license logging.
Character string containing the license event logfile name.
| Value | Meaning |
|---|---|
| SUCCESS | The function was successful. |
| < 1 | An error occurred. Refer to Return Codes. |
When enabled, LEADTOOLS will write information about runtime license events, for example, when calling L_SetLicenseFile, into the specified file.
In order to obtain a runtime license and developer key, you must contact LEAD. For more information, refer to About LEADTOOLS Runtime Licenses.
For information about LEADTOOLS Document/Medical capabilities, contact LEAD.
To determine if support for optional features has been unlocked, use the L_IsSupportLocked function.
To set the runtime license from a memory buffer instead of a disk file, use the L_SetLicenseBuffer function.
Required DLLs and Libraries
Win32, x64.
#define MY_LOG_FILE L_TEXT("d:\\temp\\TestLog.text")#define MY_LICENSE_FILE L_TEXT("d:\\temp\\TestLic.lic")#define MY_DEVELOPER_KEY L_TEXT("xyz123abc")L_INT EnableLicenseLoggingExample(L_VOID){L_INT nRet;/* enable the runtime license logging */nRet = L_EnableLicenseLogging(L_TRUE, MY_LOG_FILE);/* set the runtime license */nRet = L_SetLicenseFile(MY_LICENSE_FILE, MY_DEVELOPER_KEY);/* check for unlocked support */if (L_IsSupportLocked(L_SUPPORT_MEDICAL))MessageBox(NULL, L_TEXT("Medical Locked\n"), L_TEXT(""), MB_OK);elseMessageBox(NULL, L_TEXT("Medical Unlocked\n"), L_TEXT(""), MB_OK);return nRet;}
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
