SetCurrentLicense Method of the Engine Object

This method sets the current license.

Important! All the ABBYY FineReader Engine objects which were in use before this method call become invalid (except the current Engine object and the License object which was passed to this method). The only thing you can do with these objects is to call the Release method for them.

Syntax

HRESULT SetCurrentLicense(
  ILicense*    TargetLicense,
  VARIANT_BOOL IsSharedCPUCoresMode
);
    

Parameters

TargetLicense
[in] Refers to the License object representing the current license. Any object from the collection of available licenses (obtained using the IEngine::GetAvailableLicenses method) can be passed to this parameter.
IsSharedCPUCoresMode
[in] Specifies whether the CPU cores should be used in shared mode. This parameter is ignored in ABBYY FineReader Engine for Mac.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

See also

Engine

03.07.2024 8:50:10

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.