PRB: FoxDoc Fails When Moved to a Different Directory

ID: Q129506

2.50 2.50a 2.50b 2.60 2.60a | 2.50a 2.60a

WINDOWS                     | MACINTOSH
kbtool kbprb

The information in this article applies to:

SYMPTOMS

FoxDoc fails when started with a Locate File dialog box. You will see this error message:

   FOXDOC.MSG File Cannot Be Found

Putting the new FoxDoc directory in the search path does not fix this problem.

CAUSE

As stated in the "Developer's guide" (page D15-3 in the Windows "Developer's Guide" and page 255 of the Macintosh "Developer's Guide"), all FoxDoc files must remain in the same directory as FoxPro.

WORKAROUND

Do not move the FoxDoc files to a separate directory.

STATUS

This behavior is by design.

MORE INFORMATION

When the files that comprise FoxDoc are moved to a directory different from the FoxPro directory, FoxPro fails and returns two error messages. The first error message is an Open dialog box that asks where FOXDOC.FLL can be found. After pointing FoxDoc to the location where FoxDoc resides, FoxDoc will then present a Stop dialog box with this error message:

   FOXDOC.MSG File Cannot Be Found

Steps to Reproduce Behavior

WARNING: The following steps will crash FoxPro, and you may not be able to restart FoxPro unless you turn your computer off and on (perform a cold boot).

1. Create a new directory for the FoxDoc files. Copy the files FOXDOC.APP,

   FOXDOC.FLL, FOXDOC.MSG, and PROWORDS.FXD to the new directory.

2. Start FoxPro. In the Command window, type this command:

   FOXDOC=<Drive>:\<Dirname>\FOXDOC.APP.

3. Type in FOXDOC, and press ENTER.

4. Select a project for FoxDoc to evaluate.

5. FoxDoc will present a dialog box that asks you to locate FOXDOC.FLL.

   After you have located FOXDOC.FLL in its new directory, FoxDoc will then
   give you the following FoxDoc Error message:

   FOXDOC.MSG message file cannot be found.

6. Click OK four times to cause an Application error. At this point, FoxPro
   causes a general protection (GP) fault and crashes.

Additional reference words: FoxWin FoxMac 2.50 2.50a 2.50b 2.60 2.60a fail GPF KBCategory: kbtool kbprb KBSubcategory: FxtoolFoxdoc
Keywords          : FxtoolFoxdoc 
Version           : 2.50 2.50a 2.50b 2.60 2.60a | 2.
Platform          : MACINTOSH WINDOWS

Last Reviewed: May 1, 1996