1: 安裝Halcon :http://www.ihalcon.com/index.php?m=bbs&c=forumlist可以獲得資源
2: 添加系統環境變量
3:創建C#工程:
1);添加引用: C:\Program Files\MVTec\HALCON-13.0\bin\dotnet35\halcondotnet.dll
2)添加控件hWindowControl
代碼演示:參考:http://blog.csdn.net/wuguanghao/article/details/61932694