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