Microsoft KB Archive/100569

{| = PRB:"Feature Not Available" in 2.5/2.5a MS-DOS Stand-Alone EXE =
 * width="100%"|

ID: Q100569

The information in this article applies to:


 * Microsoft FoxPro for MS-DOS, versions 2.5 and 2.5a

SYMPTOMS
Running a FoxPro version 2.5 or 2.5a for MS-DOS stand-alone .EXE file results in the error message "Feature Not Available."

The "Feature Not Available" error occurs on the line _PDSETUP=" " in a stand-alone .EXE file (16- or 32-bit version) created with the FoxPro version 2.5 or 2.5a for MS-DOS Distribution Kit. This error does not occur when you are running the .EXE file in the development version.

The necessary files were distributed along with the .EXE file (FOXUSER.DBF, FOXUSER.FPT, GENPD.APP) and " " is a valid record in the FOXUSER.DBF file.

CAUSE
The FoxPro code required to generate a printer driver was not included in the .EXE file.

RESOLUTION
Add GENPD.APP to the project as an application (which should automatically mark it as Excluded). Rebuild the .EXE file, and the code will work correctly.

In order for users to access printer drivers, GENPD.APP must be added to the project as an application and distributed along with the .EXE file. This information is not documented in the FoxPro manuals.

NOTE: You must also provide the DRIVER2.PLB library, because it is marked for exclusion in GENPD.PJX.

STATUS
This behavior is by design.

Additional reference words: FoxDos 2.50 2.50a GENPD EXE docerr standalone executable KBCategory: kbenv kbsetup kbprg kbdocerr kbprb KBSubcategory:
 * }