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

Last reviewed: April 17, 1995
Article 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:


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

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