OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Problems with CoCreateInstanceEx - Memory Leak

From: Jonas Blunck (jonas.blunckBLUNCK.INFO)
Date: Fri Feb 13 2004 - 12:48:50 CST


Could you post the code? It's kind of hard to tell without the code...

Regards,
  Jonas

----- Original Message -----
From: "Wagner Schalch" <wagner.schalchTRANSPORT.ALSTOM.COM>
To: <DCOMDISCUSS.MICROSOFT.COM>
Sent: Friday, February 13, 2004 8:28 PM
Subject: Problems with CoCreateInstanceEx - Memory Leak

> Hello,
>
> I am calling CoCreateInstanceEx from inside a loop and it only
> leaves this loop when it succeeds. When it fails, multiple calls to
CoCreateInstanceEx are performed and I have noticed an increase in the
> memory of my application in the very call of this method. Has anyone
> experienced any situation like this one? Does anyone know if there is some
> kind of memory leak in the CoCreateInstanceEx method?
>
> Regards,
> Wagner Schalch
>
>
> :.________________
> CONFIDENTIALITY : This e-mail and any attachments are confidential and
> may be privileged. If you are not a named recipient, please notify the
> sender immediately and do not disclose the contents to another person, use
> it for any purpose or store or copy the information in any medium.
>
> ----------------------------------------------------------------
> Users Guide http://discuss.microsoft.com/archives/mailfaq.html
> contains important info. Save time, search the archives at
> http://discuss.microsoft.com/archives/index.html .
> To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM

----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.html
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM