Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CGlobalHeap Class
Collapse the table of content
Expand the table of content

CGlobalHeap Class 

This class implements IAtlMemMgr using the Win32 global heap functions.

class CGlobalHeap : public IAtlMemMgr

CGlobalHeap implements memory allocation functions using the Win32 global heap functions.


The global heap functions are slower than other memory management functions and do not provide as many features. Therefore, new applications should use the heap functions. These are available in the CWin32Heap class. Global functions are still used by DDE and the clipboard functions.

See the example for IAtlMemMgr.

Header: atlmem.h

Community Additions

© 2015 Microsoft