home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / programm / 15049 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.6 KB

  1. Path: sparky!uunet!dziuxsolim.rutgers.edu!gandalf.rutgers.edu!rgonzal
  2. From: rgonzal@gandalf.rutgers.edu (Ralph Gonzalez)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Help: app can't open prefs file with SOME systems
  5. Keywords: quickbasic
  6. Message-ID: <Sep.1.08.48.02.1992.8579@gandalf.rutgers.edu>
  7. Date: 1 Sep 92 12:48:02 GMT
  8. Organization: Rutgers Univ., New Brunswick, N.J.
  9. Lines: 30
  10.  
  11.  
  12. Has anyone seen this problem?
  13.  
  14. I'm writing an app with QuickBASIC, which finds the Preferences folder
  15. and stores a prefs file therein. Thereafter [how's that for archaic
  16. English usage?] it loads the contents of the prefs file whenever you
  17. run the app.
  18.  
  19. This usually works fine. However, in two cases (one a Mac Plus/Sys
  20. 6.0.7, the other a IIfx/Sys 7.0) my app creates the file fine the
  21. first time it is run but crashes when trying to load the prefs every
  22. time I run it thereafter.
  23.  
  24. When I run it under the interpreter on these same machines, the
  25. problem doesn't arise (this is a common frustration when using
  26. QuickBASIC!). I tried removing all cdevs and inits from the Mac
  27. Plus/Sys 6.0.7 combo but it didn't clear up the problem. Yet, when I
  28. rebooted with another copy of Sys 6.0.7 my app ran fine even though I
  29. copied the prefs file which had formerly caused problems to the new
  30. System. (That is, the prefs file itself is not corrupt.)
  31.  
  32. I haven't been able to track the problem down any further; I was just
  33. wondering whether anyone else had experienced this sort of thing...
  34.  
  35. Thanks for any (email) replies,
  36. Ralph
  37. -- 
  38. Ralph Gonzalez, Computer Science, Rutgers Univ., Camden, NJ
  39. Phone: (609) 757-6122; Internet: rgonzal@elbereth.rutgers.edu
  40. --
  41.