diff --git a/examples/LexActivator.pas b/examples/LexActivator.pas index 0e88621..f4b468d 100644 --- a/examples/LexActivator.pas +++ b/examples/LexActivator.pas @@ -45,7 +45,7 @@ interface ; type - TLAFlags = (lfUser, lfSystem, lfInMemory); + TLAFlags = (lfUser, lfSystem, lfAllUsers, lfInMemory); TLAKeyStatus = (lkOK, lkExpired, lkSuspended, lkGracePeriodOver, lkTrialExpired, lkLocalTrialExpired, lkFail, lkException // for callback @@ -139,9 +139,21 @@ procedure SetProductData(const ProductData: UnicodeString); * ProductId - the unique product id of your application as mentioned on the product page in the dashboard. - * Flags - depending upon whether your application requires admin/root - permissions to run or not, this parameter can have one of the following - values: lfSystem, lfUser, lfInMemory + * Flags - depending on your application's requirements, choose one of + the following values: + + - lfUser: This flag indicates that the application does not require + admin or root permissions to run. + + - lfSystem: This flag indicates that the application must be run with admin or + root permissions. + + - lfAllUsers: This flag is specifically designed for Windows and should be used + for system-wide activations. + + - lfInMemory: This flag will store activation data in memory. Thus, requires + re-activation on every start of the application and should only be used in floating + licenses. EXCEPTIONS: ELAWMICException, ELAProductFileException, ELAProductDataException, ELAProductIdException, @@ -2074,7 +2086,7 @@ implementation LexActivator_DLL = 'LexActivator.dll'; const - LAFlagsToLongWord: array[TLAFlags] of LongWord = (1, 2, 4); + LAFlagsToLongWord: array[TLAFlags] of LongWord = (1, 2, 3, 4); function LAFlagsToString(Item: TLAFlags): string; begin @@ -4884,4 +4896,4 @@ finalization try ResetLicenseCallback; except end; DeleteCriticalSection(LALicenseCallbackMutex[lciCheckForReleaseUpdate]); DeleteCriticalSection(LALicenseCallbackMutex[lciSetLicenseCallback]); -end. +end. \ No newline at end of file