Hi All!
Please help me to solve the problem!
For example:
In VB,the programme order is "CWMachineVision1.SetupViewerForRectangleSelection CWIMAQViewer1",It looks like very simple.
But In Delphi,I wrote "CWMachineVision1.SetupViewerForRectangleSelection(CWIMAQViewer1),It says "Incompatible type _DCWIMAQViewer and TCWIMAQViewer" when compiling programme.
Then I tried to write "CWMachineVision1.SetupViewerForRectangleSelection(CWIMAQViewer1.ControlInterface) or CWMachineVision1.SetupViewerForRectangleSelection(CWIMAQViewer1.DefaultInterface)",Compile is passed but Running programme is failed.
So what can I do it?
Best regards