Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!lll-winken!uunet!mcvax!ukc!etive!lfcs!nick From: nick@lfcs.ed.ac.uk (Nick Rothwell) Newsgroups: comp.sys.mac.programmer Subject: Re: MultiFinder questions Message-ID: <1731@etive.ed.ac.uk> Date: 10 Apr 89 13:01:41 GMT References: <42072@csvax1.cs.tcd.ie> Sender: news@etive.ed.ac.uk Reply-To: nick@lfcs.ed.ac.uk (Nick Rothwell) Organization: LFCS Enya Admiration Society Lines: 40 In article <42072@csvax1.cs.tcd.ie> fmodwyer@csvax1.cs.tcd.ie (Frank O'Dwyer, Dept. of Computer Science, TCD, Dublin 2, IRELAND) writes: >I'm sure that these questions are answered in some >tech note or other - but since I don't have the notes I'm >going to ask them anyway. >...[Multifinder Interfacing questions] >I ask because I've written a program which seems to background fine >under MF - even though I've set 'MultiFinder Aware' to false, >and set 'Can Background' to true - *without* making the slightest >provision in my code to handle backgrounding. Is this O.K. or >is my program doomed to crash under some wierd set of circumstances? I'v been programming in Lightspeed C for quite a while, and know nothing (well, mostly nothing) about MultiFinder interfacing, and have had no problems. I have all the MultiFinder flags set to 0, and all that seems to happen is that MultiFinder kicks in by posting a faked Select Desk Accessory menu action. Note that this action *must* be respected immediately; I tried putting up a dialog when this happened, for debugging, and things broke. I suspect that doing things properly (getting the suspend/resume events) will be more efficient. I also presume that you have to be conformant in order to run in the background. So: my request. Could somebody post a short definitive document on how to write things for MultiFinder, assuming Inside Mac I/II knowledge? I'm sure it wouldn't be too long; just a summary of the app4 event and the SIZE-1 flags. Is there a lot more to it than that? I'm endeavouring to get this information from APDA, but here in Scotland, it looks like it's going to take a while... >Frank O'Dwyer, e-mail: FMODWYER@cs.tcd.ie Nick. -- Nick Rothwell, Laboratory for Foundations of Computer Science, Edinburgh. nick@lfcs.ed.ac.uk !mcvax!ukc!lfcs!nick ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ...while the builders of the cages sleep with bullets, bars and stone, they do not see your road to freedom that you build with flesh and bone.