Message: Second Operand of __QueryPointer must be pointer
Possible error cause: Incorrect operands are passed to the operator __QueryPointer
.
Error correction: Pass a pointer.
Example of the error:
PROGRAM PLC_PRG VAR b : INT; ITFref : ITF; pt : POINTER TO FB; END_VAR __QueryPointer(ITFref,b); INTERFACE ITF EXTENDS __System.IQueryInterface --> C0241: Second Operand of __QueryPointer must be pointer
Error correction:
Example: __QueryPointer (ITFref, pt);