FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour -Use of zkemkeeper.dll
Posts: 883
Joined: Tue Oct 11, 2005 11:57 AM
-Use of zkemkeeper.dll
Posted: Sun Nov 23, 2014 03: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
Posts: 811
Joined: Tue May 06, 2008 04:28 AM
Re: -Use of zkemkeeper.dll
Posted: Mon Nov 24, 2014 01: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
Posts: 1303
Joined: Tue Jul 21, 2009 08:12 AM
Re: -Use of zkemkeeper.dll
Posted: Mon Nov 24, 2014 08: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.
Posts: 883
Joined: Tue Oct 11, 2005 11:57 AM
Re: -Use of zkemkeeper.dll
Posted: 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
Posts: 1303
Joined: Tue Jul 21, 2009 08:12 AM
Re: -Use of zkemkeeper.dll
Posted: Mon Nov 24, 2014 09: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.
Posts: 811
Joined: Tue May 06, 2008 04:28 AM
Re: -Use of zkemkeeper.dll
Posted: 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 (fw): Select all Collapse
 IF !IsActiveX('zkemkeeper.ZKEM.1')
     RegisterServer( 'zkemkeeper.DLL' )
 ENDIF


to connect:
Code (fw): Select all Collapse
  ...
  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
Posts: 811
Joined: Tue May 06, 2008 04:28 AM
Re: -Use of zkemkeeper.dll
Posted: 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
Posts: 11
Joined: Fri May 02, 2014 06:25 PM
Re: -Use of zkemkeeper.dll
Posted: Fri Feb 27, 2015 08: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ú

Continue the discussion