Error when load zkeemkeeper dll in Windows 7 64 bit

When using zkemkeeper.dll winthin a human resource management application to interact with finger print machine like U160 Ronal Jack, you may run into an error of running your human resource management application in Windows 7 64-bit although you have registered the zkeemkeeper.dll into windows\sysWOW64 folder via 32-bit version regsrv32 file. The error contains something like: “Retrieving the COM class factory for component …..”


When debug the code you may find the following codes cause the problem:

private zkemkeeper.CZKEM CtrlBioComm;
//CtrlBioComm = new zkemkeeper.CZKEM();


The problem arises because your dll (in that case zkemkeeper.dll) is 32-bit. To solve this problem you need to build your application for x86 CPU.



No comments:

Post a Comment

Blog Archive

About Me

My photo
I am a software developer with roughly 5 years of experience in developing end-to-end solutions in C#, Java, C/C++, PHP and HTML/CSS/Javascript. At the moment, I am joining the Professional Doctorate in Engineering degree program in Software Technology at Eindhoven University of Technology. My areas of particular interest include software design, data structures and algorithms, problem solving, software security, embedded system, machine learning, and data science.