Error when passing arguments per reference and per pointe to orocos operation

Hi all

I am trying to have an operation that receives arguments per reference or per pointers (to change its value in the function) but when I try to add this operation to the taskContext (with the method addOperation) the compiler throws me a couples of errors. Isn't it possible to add this kind of functions in Orocos?

If not, which will be the best option to get this values from another task context: returning a structure variable from the function or managing the data through the ports?

BR,

Santiago