-Use of zkemkeeper.dll

-Use of zkemkeeper.dll

Postby Adolfo » Sun Nov 23, 2014 3:13 pm

Anyone with experiences using this dll
I Think is written in VB, can we call it from Harbour?
I use Borland as mi C Compiler, would it be better to change to Microsoft C ?
Can I transform it into a lib with implib and use it as any lib ?


Any help will be appreciated
;-) Ji,ji,ji... buena la cosa... "all you need is code"

http://www.xdata.cl - Desarrollo Inteligente
----------
Asus TUF F15, 32GB Ram, 2 * 1 TB NVME M.2, GTX 1650
User avatar
Adolfo
 
Posts: 860
Joined: Tue Oct 11, 2005 11:57 am
Location: Chile

Re: -Use of zkemkeeper.dll

Postby fraxzi » Mon Nov 24, 2014 1:22 am

Adolfo,

I use this .dll as activex.

I use it on my Bio-metric device to retrieve log records.
Kind Regards,
Frances

Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: -Use of zkemkeeper.dll

Postby lucasdebeltran » Mon Nov 24, 2014 8:40 am

Hello,

This dll Works for all biometric devices, or just for a specific manufacturer?.
Muchas gracias. Many thanks.

Un saludo, Best regards,

Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]

Implementando MSVC 2010, FWH64 y ADO.

Abandonando uso xHarbour y SQLRDD.
User avatar
lucasdebeltran
 
Posts: 1303
Joined: Tue Jul 21, 2009 8:12 am

Re: -Use of zkemkeeper.dll

Postby Adolfo » Mon Nov 24, 2014 10:51 am

Fraxzi

Ok, can you give a little example, please.. my email is adolfo point lagos at gmail dot com

Thanks in advance

Lucas...
yes almost all Iface,and syscom biometric devices uses a ZK cjip, which can be accessed with this dll
;-) Ji,ji,ji... buena la cosa... "all you need is code"

http://www.xdata.cl - Desarrollo Inteligente
----------
Asus TUF F15, 32GB Ram, 2 * 1 TB NVME M.2, GTX 1650
User avatar
Adolfo
 
Posts: 860
Joined: Tue Oct 11, 2005 11:57 am
Location: Chile

Re: -Use of zkemkeeper.dll

Postby lucasdebeltran » Mon Nov 24, 2014 9:17 pm

Adolfo,

Is it so like Griaule?.

Is it free or comercial?.
Muchas gracias. Many thanks.

Un saludo, Best regards,

Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]

Implementando MSVC 2010, FWH64 y ADO.

Abandonando uso xHarbour y SQLRDD.
User avatar
lucasdebeltran
 
Posts: 1303
Joined: Tue Jul 21, 2009 8:12 am

Re: -Use of zkemkeeper.dll

Postby fraxzi » Tue Nov 25, 2014 12:49 am

Adolfo,

I don't have the leisure of time to re-create a small sample but this is part of my code:

runtime files I'm using are:

1. commpro.dll
2. comms.dll
3. msvcr71.dll
4. zkemkeeper.dll
5. zkemsdk.dll
6. zkemkeeper.oca



to check if object was registered:
Code: Select all  Expand view
IF !IsActiveX('zkemkeeper.ZKEM.1')
     RegisterServer( 'zkemkeeper.DLL' )
 ENDIF
 


to connect:
Code: Select all  Expand view

  ...
  oBiometric := TActiveX():New( oWnd,'zkemkeeper.ZKEM.1')
  ...
  oBiometric:SetCommPassword( 'password' )                           //this is important if you set communication password to your biometric device
  ...
 
  IF ( lGo := oBiometric:Connect_Net( 'ip address', 'port' ) )

      IF !oBiometric:IsTFTMachine( 'device_id' )                         //you set this nID in your device, important if you have many devices. this is numeric
          MsgAlert('non-TFT Device..', 'COMPATIBILITY ISSUE')
      ENDIF

      ...

      oBiometric:RefreshData( 'device_id' )                                //some commands you may want to use  

      ...

      IF oBiometric:ReadGeneralLogData( 'device_id' )

                j := 0

                WHILE oBiometric:SSR_GetGeneralLogData( 'device_id',,,,,,,,,,)  //this is the only way I know how to get number of records from the device.
                      j++                                                                                     //if you know a better way please share.
                END

                oBiometric:ReadGeneralLogData(  'device_id' )                            //get ready and position 1st record pointer

               //this is how I get every record
                WHILE oBiometric:SSR_GetGeneralLogData('device_id', @cEnrollID, @nVerifyMO, @nInOutMO, @nYearOUT, @nMoOUT, @nDayOUT, @nHrOUT,  
                                                                                 @nMinOUT, @nSecOUT, @nWorkOUT )

                           ...
                       
                           //work your way here how to process those data

                END

        ENDIF

  ELSE

       nError := 0
       oBiometric:GetLastError(@nError)
       msginfo( nError )  

 ENDIF

 




Please share if you have better ways or faster ways to get all those data.
I hope this helps.
Kind Regards,
Frances

Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: -Use of zkemkeeper.dll

Postby fraxzi » Tue Nov 25, 2014 12:54 am

lucasdebeltran wrote:Hello,

This dll Works for all biometric devices, or just for a specific manufacturer?.



Lucas,

I haven't tried this to other devices. Model I use is FS-800u "Time and attendance terminal" made is China.
I use the .dll from devices CD.
Kind Regards,
Frances

Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: -Use of zkemkeeper.dll

Postby Prodix » Fri Feb 27, 2015 8:29 pm

Esta librería (zkemkeeper.dll) funciona con lectoras USB?

Lo digo porque estoy tratando de implementar una Digital Persona 4500 y no lo consigo.
Fivewin 7.12
http://www.prodixperu.com
Lima-Perú
Prodix
 
Posts: 11
Joined: Fri May 02, 2014 6:25 pm
Location: Lima-Perú


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 52 guests