Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!stjhmc!p88.f15.n300.z1.fidonet.org!Lawson.English From: Lawson.English@p88.f15.n300.z1.fidonet.org (Lawson English) Newsgroups: comp.sys.mac.programmer Subject: Help program runs in THINK Debugger Application crashes Message-ID: <1960.27B4BFB1@stjhmc.fidonet.org> Date: 8 Feb 91 16:38:16 GMT Sender: ufgate@stjhmc.fidonet.org (newsout1.26) Organization: FidoNet node 1:300/15.88 - Tucson Apple Core, Tucson AZ Lines: 19 slewis@aerospace.aero.org writes in a message to All S> I am hiving problems with my programs running perfectly in the S> Think C Debugger and crashing when compiles as an application. S> Here is my initialization code. I sometimes get complete crashes S> and sometimes error 28 (stack overflow). Setting the Stack to S> 100000 or 150000 does not cure the problem One thing that "got" me was having a reference to the TextWindow that was never initialized. Apparently the linker didn't catch it when I ran my Think program as a stand-alone. Lawson -- Uucp: ...{gatech,ames,rutgers}!ncar!asuvax!stjhmc!300!15.88!Lawson.English Internet: Lawson.English@p88.f15.n300.z1.fidonet.org