home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / mac / programm / 18566 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.3 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!agate!stanford.edu!unix!mxmora
  2. From: mxmora@unix.SRI.COM (Matt Mora)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: THINK Pascal- program crashes only when stand-alone
  5. Message-ID: <40593@unix.SRI.COM>
  6. Date: 18 Nov 92 01:49:38 GMT
  7. References: <BxtpwD.CAn@news.udel.edu>
  8. Organization: SRI International, Menlo Park, California
  9. Lines: 25
  10.  
  11. In article <BxtpwD.CAn@news.udel.edu> kurisuto@chopin.udel.edu (Sean J. Crist) writes:
  12. >Without going into the specifics, here's my general problem.  I have a
  13. >program which functions fine when running within the THINK Pascal
  14. >development environment, but which crashes when compiled as a stand-alone
  15. >application.
  16.  
  17. >What could be causing this?  How can I even attack the problem when I
  18.  
  19.  
  20. Think Pascal Protects itself by setting a valid Grafport for you while your 
  21. running in the TP environment even if you forget to. 
  22.  
  23. Make sure you are using a valid port (ie setport(mywindow)).
  24.  
  25. Most of the time this is the problem. Or you didn't give your app enough 
  26. memory.
  27.  
  28.  
  29.  
  30. Matt
  31. -- 
  32. ___________________________________________________________
  33. Matthew Mora                |   my Mac  Matt_Mora@sri.com
  34. SRI International           |  my unix  mxmora@unix.sri.com
  35. ___________________________________________________________
  36.