🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #20633

LSC Modeless Dialog Nightmare (SCREAM!!!!)

#20633
From: Michael Czeiszperger
Date: Thu, 22 Oct 1987 02:26
25 lines
1818 bytes
I'm having a terrible problem trying to implement modless dialog boxes
in LSC on a MacII.  I send a pointer to WindowRecord to the GetNewDialog
command to avoid fragmenting the heap, but it bombs in many instances.

There are two main modeless dialog boxes.  One is very small, and the other
is very large, containing over twenty buttons.  If I call the small one
first, and then the second, everything is fine.  If however, I call the
larger dialog box first, the system always crashes on error #1, which is
supposed to be a bus error.

Has anyone had any problems with modeless dialog boxes in LSC?  If so,
please share any advice you may have gained through experience.

Thankyou in advance,

(ARRRGHHHH SCREEEEEAAAAAAM)


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Michael S. Czeiszperger      | Disclaimer: "Sorry, I'm all out of pith" 
  Systems Programmer I	      | Smail: Room 406 Baker      (614)
   College of the Arts        |        1971 Neil Avenue      292-
     Computer Lab             |        Columbus, OH 43210     0895
The Ohio State University     | UUCP: {decvax,ucbvax}!cbosgd!osupyr!artsvax!mike
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Technical Details
Message-ID: <157@artsvax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!hao!oddjob!gargoyle!ihnp4!cbosgd!osu-cis!osupyr!artsvax!mike

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!hao!oddjob!gargoyle!ihnp4!cbosgd!osu-cis!osupyr!artsvax!mike
From: mike@artsvax.UUCP (Michael Czeiszperger)
Newsgroups: comp.sys.mac
Subject: LSC Modeless Dialog Nightmare  (SCREAM!!!!)
Message-ID: <157@artsvax.UUCP>
Date: Wed, 21-Oct-87 21:26:24 EST
Article-I.D.: artsvax.157
Posted: Wed Oct 21 21:26:24 1987
Date-Received: Sun, 25-Oct-87 08:53:41 EST
Organization: College of the Arts Computer Lab, OSU
Lines: 25
Keywords: lost sleep modeless mac LSC