我使用的是ZKTEco的独立软件开发工具包,用于指纹扫描仪。我需要添加一些自定义功能。
我已经下载了SDK和Demo项目。现在,当我尝试构建Demo项目时,我得到了以下错误
"Severity Code Description Project File Line Suppression State
Error CS1061 'CZKEM' does not contain a definition for 'SetUserValidDate'
and no accessible extension method 'SetUserValidDate' accepting a first
argument of type 'CZKEM' could be found (are you missing a using directive
or an assembly reference?)"我已经在项目中引用了zkemkeeper.dll文件。我在Windows10上使用的是VB 2017,我尝试过查找Embed Interop Types属性,但在zkemkeeper的属性中找不到
我该如何解决这个问题?任何帮助都将不胜感激。
谢谢
发布于 2018-12-30 18:43:19
为了编译任何引用zkemkeeper的项目,你需要在windows系统中注册它。
您应该已经收到了dll文件中名为"Register_SDK“的bat文件,如
。用于在windows中注册zkemkeeper。如果没有,则必须手动注册。
请阅读这些帖子:
这个社区的另一个成员已经为新手编写了一个starting guide,它是用c#编写的。
诚挚的问候。
https://stackoverflow.com/questions/53969626
复制相似问题