home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH07 / A07134.WAV (.mp3) < prev    next >
Waveform Audio File Format  |  1993-10-21  |  317.8 KB  |  1 channel  |  11,025 sample rate  |  29 seconds
Transcription: To use your own handler when memory is exhausted, you must call the function setNewHandler before trying to allocate memory. The argument of the function setNewHandler can be the address of your function. Alternately, the argument can be zero to reset to the default condition. The handler specified by a call of setNewHandler is used until setNewHandler is called again, either to establish a different handler function or to reinstate the default function. Cool.