-Use of zkemkeeper.dll

Post Reply
User avatar
Adolfo
Posts: 815
Joined: Tue Oct 11, 2005 11:57 am
Location: Chile
Contact:

-Use of zkemkeeper.dll

Post by Adolfo »

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
----------
Lenovo Legion Y520, 16GB Ram, 1 TB NVME M.2, 1 TB SSD, GTX 1050
User avatar
fraxzi
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines
Contact:

Re: -Use of zkemkeeper.dll

Post by fraxzi »

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
lucasdebeltran
Posts: 1303
Joined: Tue Jul 21, 2009 8:12 am
Contact:

Re: -Use of zkemkeeper.dll

Post by lucasdebeltran »

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
Adolfo
Posts: 815
Joined: Tue Oct 11, 2005 11:57 am
Location: Chile
Contact:

Re: -Use of zkemkeeper.dll

Post by Adolfo »

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
----------
Lenovo Legion Y520, 16GB Ram, 1 TB NVME M.2, 1 TB SSD, GTX 1050
User avatar
lucasdebeltran
Posts: 1303
Joined: Tue Jul 21, 2009 8:12 am
Contact:

Re: -Use of zkemkeeper.dll

Post by lucasdebeltran »

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
fraxzi
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines
Contact:

Re: -Use of zkemkeeper.dll

Post by fraxzi »

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

 IF !IsActiveX('zkemkeeper.ZKEM.1')
     RegisterServer( 'zkemkeeper.DLL' )
 ENDIF
 
to connect:

Code: Select all

  ...
  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
Contact:

Re: -Use of zkemkeeper.dll

Post by fraxzi »

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
Prodix
Posts: 11
Joined: Fri May 02, 2014 6:25 pm
Location: Lima-Perú
Contact:

Re: -Use of zkemkeeper.dll

Post by Prodix »

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ú
Post Reply