home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!pageworks.com!world!reuber
- From: reuber@world.std.com (kent b reuber)
- Subject: Re: THINK Pascal- program crashes only when stand-alone
- Message-ID: <BxvoJB.Jpv@world.std.com>
- Organization: The World Public Access UNIX, Brookline, MA
- References: <BxtpwD.CAn@news.udel.edu>
- Date: Tue, 17 Nov 1992 20:49:59 GMT
- Lines: 28
-
- kurisuto@chopin.udel.edu (Sean J. Crist) writes:
-
- >Without going into the specifics, here's my general problem. I have a
- >program which functions fine when running within the THINK Pascal
- >development environment, but which crashes when compiled as a stand-alone
- >application.
-
- >What could be causing this? How can I even attack the problem when I
- >don't have THINK Pascal's programming tools to see why this stand-alone
- >program is crashing? I can't imagine that this is a bug in THINK Pascal,
- >but it seems that the simulated run environment ought to be realistic
- >enough that any problems which a stand-along application is going to
- >have will be apparent in the simulated environment as well.
-
- >--Kurisuto
-
- It's hard to say without knowing what your code does. However, I had a
- similar experience several years ago with Turbo Pascal for the Mac, where
- I would get different answers to a matrix problem depending on whether I
- was running under Turbo or in a stand-alone application. I found out that
- I hadn't locked a Handle properly--in the stand-alone version a memory
- block was being moved unexpectedly and my handle was pointing to garbage.
- You might look into this.
- --
- Kent Reuber | Schepens Eye Research Institute
- Computer Operations Manager | 20 Staniford St.
- reuber@world.std.com | Boston, MA 02174
- reuber@cdv.eri.harvard.edu |
-