jap7g@mendel.acc.Virginia.EDU (Jim A. Pisano) (10/20/90)
Although I'm an experienced C programmer, I'm new to Macs & need some guidance... Problem: I've written a straight-forward program that opens a main window, displays letters randomly via DrawString()'s, prompts for users' responses via 3 dialog boxes with buttons & editable text, & displays some output on the main window at the end. This program runs perfectly in the Think C (Ver. 3.0) programming environment, but when I use "Build Application" to make the program a stand-alone application, it bombs when I try to invoke the stand-alone application. The program begins to load & before the initial start-up screen appears, I get the famous bomb with ID = 10. Looking in Macintosh Revealed Vol. II, ID = 10 is " f emulator trap". I called Think C tech support & they couldn't offer any assistance. I have a Mac SE w/ 1 MB RAM & the finder so I can't run their debugger to help. I have a copy of MacsBug (ver. 5.5), but it just displays assembler output which is not my area of expertise. When MacsBug takes over when the program bombs, it is at the instruction: MOVE.W D6,D7 of which there are a bunch of these same instructions. This leads me to think that an illegal jump has been made. Can anybody offer some assistance? What is ID=10? How can I use MacsBug to figure out what's wrong? Is Think C Ver. 3.0 troublesome in this regard? Please send e-mail. If there is considerable interest, I will summarize & post. Thanks in advance, -Jim Jim Pisano jap7g@Virginia.EDU Department of Psychology uunet!virginia!jap7g University of Virginia, Charlottesville, VA 22903 (804) 924-4282