[comp.sys.mac.programmer] Lightspeed Pascal and Stand alone Applications...

wayner@svax.cs.cornell.edu (Peter Wayner) (05/11/88)

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