LBase::KernelHasExpired

Summary

Checks whether the LEADTOOLS kernel has expired.

Syntax

#include "ltwrappr.h"

static L_BOOL LBase::KernelHasExpired()

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.

See Also

Functions

Topics

Example

Checks if the LEADTOOLS Kernel has expired.

L_INT LBase__KernelHasExpiredExample() 
{ 
   L_BOOL bExpired = LBase::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 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.