PRB: Executable Created with FoxPro Starts But Does Not RunLast reviewed: January 26, 1996Article ID: Q118558 |
The information in this article applies to:
SYMPTOMSWhen you are executing an .EXE file created with FoxPro for Windows, the .EXE file flashes briefly on the screen and then disappears.
CAUSEThe .EXE file may be reading a CONFIG.FPW file that contains a COMMAND= statement that calls a nonexisting program. The .EXE file will not be able to locate the program and will terminate.
RESOLUTIONMake sure the CONFIG.FPW file does not contain such a command.
MORE INFORMATIONWhen developing an .EXE file for distribution, many developers copy the .EXE and .ESL files into a separate directory in order to test the .EXE file. When the .EXE file starts up, it acts just like FoxPro and looks for a CONFIG.FPW file in the .EXE's directory. If it does not find a CONFIG.FPW file, the .EXE file looks in the directories that are listed in the MS-DOS PATH statement. When it finds a CONFIG.FPW file, such as the one located in the FoxPro directory, it runs the commands in that file. If a COMMAND= line is in the CONFIG.FPW file and it issues a DO command to run a program, the .EXE file tries to run that program. If the .EXE file cannot find the program, the .EXE file terminates as if a QUIT command were issued.
|
Additional reference words: FoxWin 2.50a 2.50b 2.60 dk made distribution
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |