1.导出代码

2.vs设置,让vs找到halcon链接库和引用的地方

添加引用:添加halcondotnet.dll

路径:D:\Program Files\MVTec\HALCON-12.0\bin\dotnet35

c#调用Halcon代码

添加命名空间:

using HalconDotNet;

3.添加halcon控件

在vs控件中右键,添加D:\Program Files\MVTec\HALCON-12.0\bin\dotnet35\halcondotnet.dll

在控件中就多一个hwindowcontrol控件

c#调用Halcon代码

4.控件显示

c#调用Halcon代码

目标平台根据电脑系统进行修改

c#调用Halcon代码

相关文章:

  • 2021-12-09
  • 2021-12-28
  • 2021-08-09
  • 2021-04-24
  • 2022-01-05
  • 2022-01-28
  • 2022-12-23
  • 2021-06-02
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-30
  • 2021-09-17
相关资源
相似解决方案