Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

LBase::KernelHasExpired

Show in webframe

#include "ltwrappr.h"

static L_BOOL LBase::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.

See Also

Functions:

LSettings::SetLicenseFile, LSettings::SetLicenseBuffer, Class Members.

Topics:

Support Functions: Version and License Information

 

Setting a Runtime License

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;
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.