PRB: SYS(2004) From .EXE Returns .ESL DirectoryLast reviewed: April 30, 1996Article ID: Q125044 |
The information in this article applies to:
SYMPTOMSWhen run from an executable file (.EXE) outside of the FoxPro development environment, the SYS(2004) command returns the directory containing the FOXW<nnnn>.ESL file if the .ESL file is not located in the same directory as the .EXE.
STATUSThis behavior is by design.
MORE INFORMATIONWhen an .EXE created with the FoxPro for Windows Distribution Kit is run, it must access the .ESL support library. Since the .ESL file is rather large, it can be helpful to use a single common .ESL for several .EXE files. It is permissible to place the .ESL in a directory other than the directory which contains the .EXE as long as the .ESL file is in the MS-DOS path. However, after following this approach the SYS(2004) command will return the .ESL directory instead of the directory containing the .EXE.
Steps to Reproduce Behavior
Note: The SYS(2004) command returns the FoxPro directory if run from an .EXE within the development environment. For more information about this topic under Visual FoxPro, please see the following articles in the Microsoft Knowledge Base:
ARTICLE-ID: Q133246 TITLE : How to Install VFP300.ESL in a Distributed Application ARTICLE-ID: Q133143 TITLE : PRB: VFP300.ESL Goes in System Directory, Not App's Directory |
Additional reference words: VFoxWin 3.00 FoxWin 2.50 2.50a 2.50b 2.60 2.60a
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |