|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: arun (akumar_at_OMNESYSINDIA.COM)
Date: Wed Jul 31 2002 - 07:13:16 CDT
I tried the lot with a normal process and dont find
any leaks myself , but wanted to be sure.
Thanks
arun
----- Original Message -----
From: "Glenn Flood" <GFlood
SOUTHAMPTON.OILFIELD.SLB.COM>
To: <DCOM
DISCUSS.MICROSOFT.COM>
Sent: Wednesday, July 31, 2002 2:39 PM
Subject: Re: variantclear and [in,out] parameters
> > I was talking abt VC++ myself. I could not find an AddElement
> > method in MSDN (apart from something abt soap toolkit )
> > so i supposed it was VB
>
> You are right, I mistakenly quoted a method on a class I
> had created to handle safe arrays. Inside that method, it
> equates to SafeArrayPutElement().
>
> Sorry.
>
> I don't know if variant clear will destroy the safe array inside
> it, though I would expect it to.
>
> When you destroy the safe array, then I believe that the UDTs
> and BSTRs within the array will also be destroyed as you wish.
> I've checked my code with Rational Rose and find no memory
> leaks for that particular reason.
>
> ----------------------------------------------------------------
> Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
> contains important info. Save time, search the archives at
> http://discuss.microsoft.com/archives/index.html .
> To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
>
>
----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]