Initializes the Fingerprint SDK library, creates the default context and checks for a valid license on system.
| Prerequisites | A valid license must exist on system. |
| Return | On success, GR_OK is returned. On failure, the appropriate error code is returned. |
C++ .NET
int Initialize();
C#
int Initialize();
VB6
Function Initialize () As Long
VB .NET
Function Initialize () As integer
Delphi
function Initialize: integer;
C++ .NET
// Initialize the GrFingerX Library
int err = _grfingerx->Initialize();
C#
GRConstants result;
//Initialize the library
result = (GRConstants)_grfingerx.Initialize();
VB6
' Initializing the library
Dim err As Long
err = GrFingerXCtrl1.Initialize
VB .NET
' Initializing the library
Dim err As integer
err = _GrFingerX.Initialize()
Delphi
var
err: integer;
begin
// Initializing the library.
err := GrFingerXCtrl1.Initialize();
end;