AfxThrowMemoryException
TRY
TOC
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

AfxThrowMemoryException

Throws a memory exception.

void AfxThrowMemoryException( );

Call this function if calls to underlying system memory allocators (such as malloc and the GlobalAlloc Windows function) fail. You do not need to call it for new because new will throw a memory exception automatically if the memory allocation fails.

Header: afx.h

Show:
© 2016 Microsoft