I guess this is a new function for VS 2003, but how to obtain this
information in VC6 and VC7?

Best regards,
Klaus

Re: How to obtain the handle of the heap used by the C-Runtime system? by David

David
Fri Feb 06 16:09:55 CST 2004

>I guess this is a new function for VS 2003, but how to obtain this
>information in VC6 and VC7?

Klaus,

Have you tried GetProcessHeap?

Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq

Re: How to obtain the handle of the heap used by the C-Runtime system? by Ivan

Ivan
Fri Feb 06 17:23:37 CST 2004

Who guarantees that the current C-Runtime is using the process heap ?
I've seen processes with few version of the C-Runtime loade, some linekd
statically
and some linked dynamically (msvcrt.dll, msvcr70.dll, msvcr80.dll),
each one using a different C-Rutnime heap.
In the debugger it's the ModuleName!_crtheap symbol.

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


"David Lowndes" <davidl@example.invalid> wrote in message
news:b4482018k3cnguqdijkh14trfebhqqksqv@4ax.com...
> >I guess this is a new function for VS 2003, but how to obtain this
> >information in VC6 and VC7?
>
> Klaus,
>
> Have you tried GetProcessHeap?
>
> Dave
> --
> MVP VC++ FAQ: http://www.mvps.org/vcfaq



Re: How to obtain the handle of the heap used by the C-Runtime system? by Leo

Leo
Mon Feb 09 00:22:27 CST 2004

"Klaus Bonadt" <Bonadt@hotmail.com> wrote in message
news:enZqkuN7DHA.3360@tk2msftngp13.phx.gbl...
> I guess this is a new function for VS 2003, but how to obtain this
> information in VC6 and VC7?

_get_heap_handle:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/vclrf_get_heap_handle.asp

Leo Havmøller.