wlj1@cunixb.cc.columbia.edu (Wayne L Jebian) (09/11/90)
Hi- I know there was a discussion of fragmentation problems with the dialog manager, but I missed it. could someone please summarize for me? my problem: I have four dialogs. I put them up with GetNewDialog() and take them away with DisposDialog. After a few (maybe five) invocations the machine crashes. Anybody have a fix? Thanks! -Wayne.
rad@genco.uucp (Bob Daniel) (09/13/90)
In article <1990Sep11.132604.8985@cunixf.cc.columbia.edu> wlj1@cunixb.cc.columbia.edu (Wayne L Jebian) writes: > >my problem: I have four dialogs. I put them up with GetNewDialog() and >take them away with DisposDialog. After a few (maybe five) invocations >the machine crashes. > For modal dialogs, you need to save the current port before a dialog, then set the port back afterwards. GetPort(savePort) GetNewDialog() ... DisposDialog() SetPort(savePort) ______________ moof moof