Griaule Biometrics

Home » Error code -1 (GR_ERROR_INITIALIZE_FAIL), when running the application

Knowledge Base

Add to Delicious  Add to browser favorites Positive Negative

Title: Error code -1 (GR_ERROR_INITIALIZE_FAIL), when running the application

SYMPTOMS:

  • When the first form loads, the fingerprint reader works well. As the second form is loaded the reader does not work anymore;
  • An error message with the code -1 (GR_ERROR_INITIALIZE_FAIL) shows up;

CAUSE:

  • The only way to get a GR_ERROR_INITIALIZE_FAIL is to call initialize when GrFinger it's already initialized.

SOLUTION:

  1. The ActiveX class is totally static, if you create 2 instances of it, you don't need to call initialize on both of them.
  2. We suggest you to have a global GrFingerXCtrl, initialized just once, which probably will fix this problem.

APPLIES TO:

  • Fingerprint SDK 2007, GrFinger 4.2