Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!mailrus!tut.cis.ohio-state.edu!ukma!psuvm.bitnet!cunyvm!ndsuvm1.bitnet!ud040164
From: UD040164@NDSUVM1.BITNET (a.d. jensen)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Dialogs in INITS (LSC3)
Message-ID: <1331UD040164@NDSUVM1>
Date: 7 Sep 88 23:56:12 GMT
Organization: North Dakota Higher Education Computer Network, Fargo, ND
Lines: 26
DISCLAIMER: Author bears full responsibility for contents of this article.

Well, I got a slug of ideas as to what might be changed, here are the
results:

  Call InitGraf                      - Can't use globals...

  Call InitWindows, InitDialogs      - Was already doing...

  Don't call InitWindows,            - El bombo
                    InitDialogs

  Expicitly set the port to          - No effect
                    theDialog


In review, nobody really addressed the quesion of why the DisposDialog
crashes when any other reference to theDialog caused no problems.

Anyway, just to get rid of the dialog, I make another call to InitWindows ().
This is probably pretty stupid, but it gets rid of the dialog without
crashing.  Until we have an answer that works, I guess that we're stuck
with this "solution".

Thanks to everyone who responded.  It appears that this is a dilemma not
faced often, since dialogs in INITs are uncommon (apart from AppleShare,
QuickMail and BigScreenInit).

dale