Path: utzoo!utgpu!water!watmath!clyde!att!mtunx!rutgers!cmcl2!nrl-cmf!ames!lll-lcc!well!shf From: shf@well.UUCP (Stuart H. Ferguson) Newsgroups: comp.sys.amiga.tech Subject: Re: memory management. Message-ID: <6187@well.UUCP> Date: 7 Jun 88 18:14:29 GMT References: Reply-To: shf@well.UUCP (Stuart H. Ferguson) Organization: The Blue Planet Lines: 13 Michael Portuesi asks about what to do when AllocMem() returns NULL -- is there enough memory to put up a requester? Answer: Not necessarily. More useful answer: When this happens, use an Intuition AutoRequest to notify the user of the condition. The AutoRequest function will use a window for the request if there is enough memory to do that, or it will use an ALERT if there is not enough memory. If it can't put up an alert, you're really in trouble. -- Stuart Ferguson (shf@well.UUCP) Action by HAVOC (shf@Solar.Stanford.EDU)