jss@sjuvax.UUCP (J. Shapiro) (10/21/85)
As I am not sure which group to post this to, I am posting to both. I am having some trouble getting the mac to put up a dialog item. I have created appropriate resources of type DITL and DLOG using RMaker, and have tacked these onto the code file with the RMaker include directive. The program I have simply attempts to do minimal initialization calls necessary to the dialog manager, throw up the dialog using (I think) GetNewDialog(), enter a for(i = 0; i < 30000; i++) ; loop to let me see what is going on, close the dialog, and exit. The catch is that at the moment the thing gets through all of this and then bombs at the last minute. The bomb seems to be happening in the exit routine, but it is posisble that I have not properly used the initialization and shutdown routines. It seems that anything I do up to the exit works fine, though asynchronous I/O sometimes gets clobbered. I am sure that many of you folks out there with C have used dialog boxes. If anyone could provide me with a simple piece of sample code which tosses up some minimal dialog, waits a bit, and then exits without bombing, I would be appreciative. Nothing complicated. If you can provide me with C source and an RMaker input file I am sure I will see what I did wrong. Your help is greatly appreciated. Jon Shapiro Haverford College ..!allegra!sjuvax!jss -- Jonathan S. Shapiro Haverford College "It doesn't compile pseudo code... What do you expect for fifty dollars?" - M. Tiemann