L_KernelHasExpired

#include "l_bitmap.h"

L_LTKRN_API L_BOOL L_KernelHasExpired()

Checks whether the LEADTOOLS kernel has expired.

Returns

Value Meaning
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

Platforms

Win32, x64, Linux.

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; 
} 

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help