FIX: FoxPro Crashes in FOXHELP.DBF "Error Messages" Topic

ID: Q117590

2.50b 2.50c MACINTOSH kbprg kbfixlist kbbuglist

The information in this article applies to:

SYMPTOMS

FoxPro for Macintosh crashes with a "Type 1" error when you are scrolling down the "Error Messages" Help topic in the .DBF-style Help file (FOXHELP.DBF).

CAUSE

The memo field in the FOXHELP.DBF file for the "Error Messages" record is corrupted.

RESOLUTION

To avoid this problem, use FoxPro's graphical Help file, FOXHELP.HLP. If the Macintosh does not have enough memory to run the graphical Help file while FoxPro is running, see "Additional Alternatives" in the "More Information" section below.

A listing of error messages can also be found in Appendix B (pages 441-483) of the "Developer's Guide."

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual FoxPro 3.0b for Macintosh.

MORE INFORMATION

Additional Alternatives

Systems that only have 8 megabytes (MB) of memory or less may not be able to display the FoxPro graphical Help file while FoxPro is running. This is documented in the FoxPro Readme file that can be found in the FoxPro folder. In these cases, there are three possible alternatives.

Steps to Reproduce Problem

1. Make sure that all information and files are saved because this

   procedure will crash FoxPro. It will normally not crash the Macintosh,
   but to be safe, save any unsaved files in other programs that may be
   running.

2. Make sure the FoxFont font from the FoxPro Fonts installation disk is
   installed. Your Macintosh may not crash if this font is not installed.
   "Part 4: Installing Fonts" in the FoxPro Readme file, found in the
   FoxPro folder, states that FoxFont is required in order to run .DBF-
   style Help. .DBF-style Help will start up without FoxFont; however, it
   will not be formatted correctly and extended (special) characters will
   probably be displayed, depending on which font the Macintosh uses in
   place of FoxFont.

3. Type the following commands in the FoxPro Command window. Press ENTER
   or RETURN after each command:

      SET HELP TO SYS(2004)+"FOXHELP.DBF"
      SET HELP ON
      HELP

4. Double-click the "Error Messages" topic (located in the listing of
   General Topics).

5. Use the scroll bar on the right side of the help screen to scroll down
   through the error message information. Eventually FoxPro will quit with
   the following error message:

      The application 'unknown' has unexpectedly quit, because an error
      of type 1 occurred.

   The Macintosh may lock up without an error message. This behavior has
   been observed on a Centris 610. Some Macintoshes may not quit or lock
   up.

   In any case, the memo field will not contain usable information after
   a point.

REFERENCES

"Language Reference," version 2.5, pages 737-739 "Developer's Guide," version 2.5, page 441-483 "User's Guide," version 2.5, pages 151-155 FoxPro Readme file, found in the FoxPro folder or on Disk - 1 Setup of the FoxPro installation disks

Additional reference words: FoxMac 2.50b 2.50c fixlist3.00b buglist2.50b buglist2.50c lock up freeze halt hang hung KBCategory: kbprg kbfixlist kbbuglist KBSubcategory:

Keywords          : kbbuglist kbfixlist kbprg
Version           : 2.50b 2.50c
Platform          : MACINTOSH
Solution Type     : kbfix

Last Reviewed: October 20, 1997