Chapter 15 Memory Management

All applications must use memory in order to run. Because the Microsoft Windows 3.1 operating system is multitasking, several applications may use memory simultaneously. Windows manages the available memory to make sure all applications have access to it, and to make memory usage as efficient as possible.

This chapter provides a brief introduction to the Windows memory-management system and covers the following topics:

Using memory in Windows

Using code and data segments efficiently

This chapter also explains how to build a sample application, Memory, that illustrates these concepts.