This topic has not yet been rated - Rate this topic

AfxThrowMemoryException

Throws a memory exception.

void AfxThrowMemoryException( );

Remarks

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.

See Also

MFC Macros and Globals | CMemoryException | THROW

Did you find this helpful?
(1500 characters remaining)