Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
#include "l_bitmap.h"
L_LTKRN_API L_BOOL L_KernelHasExpired()
Checks whether the LEADTOOLS kernel has expired.
Returns
TRUE |
The LEADTOOLS kernel has expired. |
FALSE |
The LEADTOOLS kernel has not expired. |
Comments
Use this function to detect whether the LEADTOOLS kernel evaluation period has expired. After the evaluation period has expired, it is necessary to have a runtime license in order to use LEADTOOLS.
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. |
Win32, x64.
See Also
Functions: |
|
Topics: |
|
|
Example
Checks if the LEADTOOLS Kernel has expired.
L_INT KernelHasExpiredExample() { L_BOOL bExpired = L_KernelHasExpired(); if(bExpired) MessageBox(NULL, L_TEXT("LEADTOOLS Kernel has expired\nEvaluation period is over."), L_TEXT("Expired"), MB_OK); else MessageBox(NULL, L_TEXT("LEADTOOLS Kernel has not expired.\nCarry on."), L_TEXT("Evaluation"), MB_OK); return SUCCESS; }