Griaule Biometrics

Home » Fingerprint SDK 2009 Developer's Manual » Programming Reference Guide » Fingerprint SDK ActiveX Reference Guide » Initialization and finalization methods » Initialize

Initialize

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.

Declaration

C++ .NET

int Initialize();

C#

int Initialize();

VB6

Function Initialize () As Long

VB .NET

Function Initialize () As integer

Delphi

function Initialize: integer;

Sample Code

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;