Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Byte array
Message
De
14/05/2010 12:13:11
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brésil
 
 
À
14/05/2010 10:27:30
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Vista
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01464557
Message ID:
01464573
Vues:
144
Hi Gary.
I've tried the code above, without success.
Maybe I need to initialize array elements with some value? If yes, what value?
With Thisform
   Local laDig1, laDig2
   Dimension laDig1[.oleCaptura.MinutiaeSize] As Byte
   Dimension laDig2[.oleCaptura.MinutiaeSize] As Byte
   If .oleCaptura.LiveCapture(6000,50)
      Do While Not .oleCaptura.IsCaptured
      Enddo
      Comarray(.oleCaptura,10)
      If .oleCaptura.GetMinutiaeData(@laDig1)
         Thisform.oleCaptura.Clear()
         If .oleCaptura.LiveCapture(6000,50)
            Do While Not .oleCaptura.IsCaptured
            Enddo
            Comarray(.oleCaptura,10)
            If .oleCaptura.GetMinutiaeData(@laDig2)
               Comarray(.oleCaptura,10)
               Messagebox(.oleVerifica.GetMatchingScore(laDig1, laDig2),64,"Score") && Always returns 0, value must be greater than 100!
               Comarray(.oleCaptura,10)
               If .oleVerifica.Register(laDig1, laDig2) && Return invalid parameter error
               Else
                  Messagebox(.oleVerifica.ErrorString,16,"Erro 1")
               Endif
            Else
               Messagebox(.oleCaptura.ErrorString,16,"Erro 2")
            Endif
         Else
            Messagebox(.oleCaptura.ErrorString,16,"Erro 3")
         Endif
      Else
         Messagebox(.oleCaptura.ErrorString,16,"Erro 4")
      Endif
   Else
      Messagebox(.oleCaptura.ErrorString,16,"Erro 5")
   Endif
   Comarray(.oleCaptura)
Endwith
Emerson Santon Reed
"One Developer CAN Make a Difference. A community CAN make a future." - Craig Boyd
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform