【问题标题】:CZKEM does not contain definition (zkemkeeper-related)CZKEM 不包含定义(zkemkeeper 相关)
【发布时间】:2018-12-29 12:41:35
【问题描述】:

我正在使用 ZKTEco 的 Standalone SDK 作为指纹扫描仪。我需要添加一些自定义功能。

我已经下载了 SDK 和演示项目。现在,当我尝试构建 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 文件。我在 Windows 10 上使用 VB 2017。我试图寻找Embed Interop Types 属性,但我在zkemkeeper 的属性中找不到它

我该如何解决这个问题?任何帮助将不胜感激。

谢谢

【问题讨论】:

    标签: visual-studio interop zkteco zkemkeeper


    【解决方案1】:

    我命令任何引用zkemkeeper的项目编译,你需要在windows系统中注册。

    您应该已经在名为“Register_SDK”的 dll 文件中收到了一个 bat 文件,如 所示。这用于在 windows 中注册 zkemkeeper。如果没有,则必须手动注册。

    请阅读这些帖子:

    Post 1

    Post 2

    还有一个 starting guide 供该社区的其他成员编写的新手使用,它是用 c# 编写的。

    最好的问候。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-09-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-01-27
      相关资源
      最近更新 更多