--- In [email protected], "entropyreduction" 
<alancampbelllists+ya...@...> wrote:
>
> 
> 
> --- In [email protected], "Sheri" <sherip99@> wrote:
> >
> > > But moment I execute VariantClear on a returned VARIANT, crash.
> > > Atl least if VARIANT is a SAFEARRAY or BSTR. So I don't (call
> > > VariantClear). In pricniple that should make a humungous memory
> > > leak, but ASAI can see, using verarious memory inspectors, no
> > > leak. You get same result? If so, I'll just shrug and publish.
> 
> 
> > No idea. A returned variant could be owned by its creator/returner and 
> > might live in a process space other than PowerPro's.
> 
> Yeah, I can imagine that, but it's very peculiar.  "Here, here's some 
> dara...but it's still MINE, so don't you dare delete it, cause I might wanna 
> give it to someone else...".  Weird, but yes, imaginable.

See if you can discern anything useful from these links:
<http://www.keyongtech.com/2313420-accessing-safe-arrays>

<http://us.generation-nt.com/answer/about-variantclear-function-release-safearray-help-6997622.html>

<http://www.codeproject.com/KB/office/A_C___dll_for_Excel.aspx>

Regards,
Sheri


Reply via email to