It seems that the issue was that I was trying to pass the wrong data type into the parameter- it was expecting a ‘CHeloData’, but I was trying to give it a ‘CCoordinate’.
solved c++ error: term does not evaluate to a function taking 1 arguments [closed]