Tag Archives: Halcon joint programming

[Solved] Halcon & C# Error: HalconDotNet.HOperatorException:“HALCON error #5190: Invalid window parameter in op

Error occurred when calling HSmartWindowControlWPF control in C# WPF

HalconDotNet.HOperatorException:“HALCON error #5190: Invalid window parameter in operator set_window_param”

 


The main reason is that the required dynamic library files are missing.

Solution:
From the installation directory
C:\Program Files\MVTec\HALCON-xxxx-Progress\bin\x64-win64
Find the hcanvas.dll file and put it in your own runtime directory.