Dela via


CGlobalHeap Class

This class implements IAtlMemMgr using the Win32 global heap functions.

class CGlobalHeap : public IAtlMemMgr

Remarks

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

Note

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.

Example

See the example for IAtlMemMgr.

Requirements

Header: atlmem.h

See Also

Reference

CComHeap Class

CWin32Heap Class

CLocalHeap Class

CCRTHeap Class

IAtlMemMgr Class

Other Resources

CGlobalHeap Members

ATL Class Overview