Path: utzoo!utgpu!water!watmath!clyde!att!rutgers!ucsd!ames!nrl-cmf!cmcl2!vx2!spector From: spector@vx2.NYU.EDU (David HM Spector) Newsgroups: comp.sys.mac.programmer Subject: Re: Dialogs in INITS (LSC3) Message-ID: <6860023@vx2.NYU.EDU> Date: 6 Sep 88 19:07:00 GMT References: <1325UD040164@NDSUVM1> Organization: New York University Lines: 23 As I recall from looking at an LSC version of ShowINIT (a klone of the MPW object written by Apple's Paul Mercer) which shows the icons of INITs at System startup time, you need to have your own QD globals set up, because at INIT31 time the universe is not fully formed yet, and as such QuickDraw and things that rely upon it are most likely bound to do bad things. You might also have to init the managers you are using too... but I've never tried doing that in an INIT... Note: I am working from memory on what happens when INITs are started... if I'm wrong please don't bop me on the head. (read: I hope someone from Apple can tell us if this is totally correct, or if I've missed the boat) _DHMS ------------------------------------------------------------------------------- David HM Spector New York University Senior Systems Programmer Graduate School of Business ARPAnet: SPECTOR@GBA.NYU.EDU Academic Computing Center USEnet:...!{allegra,rocky,harvard}!cmcl2!spector 90 Trinity Place, Rm C-4 HamRadio: N2BCA MCIMail: DSpector New York, New York 10006 AppleLink: D1161 CompuServe: 71260,1410 (212) 285-6080 "What computer puts out work like this?" "Hire us and we'll tell you."