Zkemkeeper.dll : OnEnrollFinger not firing on K40 device

Here you can find everything you need to know about Dll-Files. You can also share your knowledge regarding the topic.

Moderators: DllAdmin, DLLADMIN ONLY

Post Reply
cocokamit
Posts: 1
Joined: 22 Jun 2021, 08:24

Zkemkeeper.dll : OnEnrollFinger not firing on K40 device

Post by cocokamit »

I have created a winform application with zkemkeeper.dll which it makes me able to connect from pc to biometric device, and its perfectly working to other devices I have available, except for Zkteco K40 biometric.

I have this code that registers the events:

public bool Connect_Net(string IPAdd, int Port)
{
if (objCZKEM.Connect_Net(IPAdd, Port))
{
if (objCZKEM.RegEvent(1, 65535))
{
objCZKEM.OnConnected += ObjCZKEM_OnConnected;
objCZKEM.OnDisConnected += objCZKEM_OnDisConnected;
objCZKEM.OnEnrollFinger += new _IZKEMEvents_OnEnrollFingerEventHandler(ObjCZKEM_OnEnrollFinger);
objCZKEM.OnFinger += new _IZKEMEvents_OnFingerEventHandler(ObjCZKEM_OnFinger);
objCZKEM.OnAttTransactionEx += new _IZKEMEvents_OnAttTransactionExEventHandler(zkemClient_OnAttTransactionEx);

}
return true;
}
return false;
}


with this:

private void ObjCZKEM_OnEnrollFinger(int EnrollNumber, int FingerIndex, int ActionResult, int TemplateLength)
{
string test= "test";
}

but using the K40 device, the "ObjCZKEM_OnEnrollFinger" doesn't seem to work.

Am I missing something or its just not compatible with the device?

Post Reply