Hi,


Are there any special considerations for heap management in a C++ UDF?



I’m guessing that at run-time, we just use the usual C++ new and delete?



I’m guessing that at run-time, all we need to do is anchor any
heap-allocated variables from local variables in the processData method,
being sure to deallocate them before returning. Of course this must take
into account exceptions; there should be a try/catch block encompassing
most of the method that can do deallocations before rethrowing.



Does this sound like the right approach?



Thanks,



Dave

Reply via email to