Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/100569

From BetaArchive Wiki

PRB:"Feature Not Available" in 2.5/2.5a MS-DOS Stand-Alone EXE

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="<setup name>" 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 "<setup name>" 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:


Last Reviewed: April 17, 1995
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.