Path: utzoo!mnetor!uunet!husc6!bloom-beacon!mit-eddie!uw-beaver!cornell!wayner
From: wayner@svax.cs.cornell.edu (Peter Wayner)
Newsgroups: comp.sys.mac.programmer
Subject: Lightspeed Pascal and Stand alone Applications...
Message-ID: <17027@cornell.UUCP>
Date: 10 May 88 20:15:54 GMT
Sender: nobody@cornell.UUCP
Reply-To: wayner@cs.cornell.edu (Peter Wayner)
Distribution: comp
Organization: Cornell Univ. CS Dept, Ithaca NY
Lines: 15

I've encountered a frustrating problem with Lightspeed Pascal. My 
program works fine when it is run in the enviroment (without the
debugging option) but it crashes when I build a stand-alone application.
I've traced the system crash (id=11) to a 'with' statement accessing
a window handle. Locking the handle seems to make no difference. Changing
the stack size in the Run options does. It crashes immediately if I don't 
run the program with a stack of 4k. The Mac is a 1 meg SE. 

Unfortunately, I'm running version 1.0 of LSP and waiting for 1.11.
Has anyone encountered this problem?

-Peter Wayner
wayner@svax.cs.cornell.edu 
or 
wayner@crnlcs.bitnet