Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.71 KB

memory-management.md

File metadata and controls

35 lines (22 loc) · 1.71 KB
description title ms.date helpviewer_keywords ms.assetid
Learn more about: Memory Management
Memory Management
11/04/2016
memory [MFC]
MFC, memory management
memory allocation [MFC]
memory [MFC], managing
memory allocation [MFC], MFC
934ac81b-d630-4232-88e5-ea74f7187987

Memory Management

This group of articles describes how to take advantage of the general-purpose services of the Microsoft Foundation Class Library (MFC) related to memory management. Memory allocation can be divided into two main categories: frame allocations and heap allocations.

One main difference between the two allocation techniques is that with frame allocation you typically work with the actual memory block itself, while with heap allocation you are always given a pointer to the memory block. Another major difference between the two schemes is that frame objects are automatically deleted, while heap objects must be explicitly deleted by the programmer.

For non-MFC information about memory management in programs for Windows, see Memory Management in the Windows SDK.

What do you want to know more about

See also

Concepts
General MFC Topics