Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Byte array
Message
From
14/05/2010 12:13:11
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brazil
 
 
To
14/05/2010 10:27:30
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, United States
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Vista
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01464557
Message ID:
01464573
Views:
129
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform