My understanding is that from Progress 9.1 onwards, when you pass a MEMPTR from process A to B then B is actually sent a COPY of the data (i.e. A and B now have entirely seperate MEMPTRs).
If A is a function that returns a MEMPTR B, then how do I free up the memory used by A's Memptr AFTER it has returned it to B?
B can do set-size(memptrB) = 0 on it's copy of the memptr but A cannot do this.
If A is a function that returns a MEMPTR B, then how do I free up the memory used by A's Memptr AFTER it has returned it to B?
B can do set-size(memptrB) = 0 on it's copy of the memptr but A cannot do this.