Compiler Error C0241
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 459. 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
Message:
C0241: Second Operand of __QueryPointer must be pointer
Error correction:
__QueryPointer (ITFref, pt);