>  Just to be absolutely clear: I'm storing a (new) handle to a COM >object in 
> a vector element.  Why does that (in theory) require that >I call 
> changerefhandle on the vec handle?

Sorry, I misunderstood.  I thought you were creating a new vector and storing 
it somewhere.


> 
> local hVecOfData = hToRecordSet.getRows()
> 
> surely your code is checking to see if it should up the reference count for 
> hVecOfData when you process that assignment?  So if you do it, why do I have 
> to do it?

I agree: You don't have to do anything with regard to vectors for above.




> 
> Now, back to the (new) com object handle placed in one of vec's elements.  
> That's not a problem, cause as you've already pointed out, your vec code will 
> notice it's a handle being assigned and do the right thing (up it's ref 
> count).
> > So by my count, I don;t have to do anything?

Agree

>




Reply via email to