Path: utzoo!utgpu!watmath!iuvax!mailrus!ames!apple!dlyons From: dlyons@Apple.COM (David Lyons) Newsgroups: comp.sys.apple Subject: ModalDialog Problem Message-ID: <33677@apple.Apple.COM> Date: 2 Aug 89 20:18:01 GMT References: <8907301616.aa07023@SMOKE.BRL.MIL> Organization: Apple Computer Inc, Cupertino, CA Lines: 19 In article <8907301616.aa07023@SMOKE.BRL.MIL> STEIN@UCONNVM.BITNET (Alan Stein) writes: > I am trying to create a dialog box using Orca/C. [...] >dialogRec.dtItemList[2] = (ItemTempPtr) &message; >dialogRec.dtItemList[3] = (ItemTempPtr) &inputline; You need a NULL at the end of the array: dialogRec.dtItemList[4] = (ItemTempPtr) NULL; Other than that I don't see any problems. --Dave Lyons, Apple Computer, Inc. | DAL Systems AppleLink--Apple Edition: DAVE.LYONS | P.O. Box 875 AppleLink--Personal Edition: Dave Lyons | Cupertino, CA 95015-0875 GEnie: D.LYONS2 or DAVE.LYONS CompuServe: 72177,3233 Internet/BITNET: dlyons@apple.com UUCP: ...!ames!apple!dlyons My opinions are my own, not Apple's.