PRB:"Feature Not Available" in 2.5/2.5a MS-DOS Stand-Alone EXELast reviewed: April 17, 1995Article ID: Q100569 |
The information in this article applies to:
SYMPTOMSRunning 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.
CAUSEThe FoxPro code required to generate a printer driver was not included in the .EXE file.
RESOLUTIONAdd 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.
STATUSThis behavior is by design.
|
Additional reference words: FoxDos 2.50 2.50a GENPD EXE docerr standalone
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |