PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD 18]- Communication with ZK T&A clock
[WD 18]- Communication with ZK T&A clock
Iniciado por guest, 04,sep. 2015 15:49 - 4 respuestas
Publicado el 04,septiembre 2015 - 15:49
I'm trying to communicate with ZK clock for T&A, i can't find out how to use their SDK in windev.

Anyone manage to do that?

Just a simple sample on how to connect to the clock and receive or send some data will be helpfull.

I'm trerying with the SDK available in http://www.zkteco.eu/index.php/downloads/software-downloads

Thanks.
Publicado el 04,septiembre 2015 - 16:51
I'm pretty sure you'll need an ActiveX control and ActiveX commands.
Publicado el 04,septiembre 2015 - 20:14
Hi curtis,

I can do it using object automation like this:
zk is object Automation dynamic
zk=new object Automation “zkeuemkeeper.ZKEUEM”
if not zk>>connect_net(resl,G_PHAN_PORT) then
error("Error in connect")
result false
end

I was trying using the professional SDK using the C# option but I can import the .NET assembly into the windev project declare it but I always get one .NET error when i try to run my project.
Miembro registrado
90 mensajes
Publicado el 20,octubre 2015 - 00:40
Hello
have found something since, for my part I am also stuck with similar product
thank you for sharing solutions
Publicado el 02,noviembre 2015 - 15:24
Hi Abdelmalek,
The olny way i manage to work is using the C++ professional SDK.

After the registration (regsvr32 C:\ZK\SDK\Professional\INST\zkeuemkeeper.dll) of the zkeuemkeeper.dll a can work wtih the clock using the code of my previous post.