I tried to use the crtheap debugging routines to check for memory leaks
caused by BSTR and _bstr_t string. From what I see in a test app
strings that are not deallocated are not reported using
_CrtMemDumpAllObjectsSince(). How can I check for unallocated BSTRs and
VARIANTS?

Thanks

john

Re: howto determine memory leaks for _bstr_t and BSTR by Rodrigo

Rodrigo
Wed Jul 27 08:21:17 CDT 2005


http://comcorba.tripod.com/comleaks.htm
http://support.microsoft.com/default.aspx?scid=kb;en-us;139071

--
Un saludo
Rodrigo Corral González [MVP]

FAQ de microsoft.public.es.vc++
http://rcorral.mvps.org



Re: howto determine memory leaks for _bstr_t and BSTR by Sergei

Sergei
Wed Jul 27 08:26:01 CDT 2005

<tendengarci@yahoo.com> wrote:
> I tried to use the crtheap debugging routines to check for memory leaks
> caused by BSTR and _bstr_t string. From what I see in a test app
> strings that are not deallocated are not reported using
> _CrtMemDumpAllObjectsSince(). How can I check for unallocated BSTRs and
> VARIANTS?

ftp://ftp.microsoft.com/PSS/Tools/Developer%20Support%20Tools/LeakDiag/

Sergei