L_KernelHasExpired

#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.

Platforms

Win32, x64, Linux.

See Also

Functions:

L_SetLicenseBuffer, L_SetLicenseFile

Topics:

Support Functions: Version and License Information

 

Setting a Runtime License

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C API Help