PRB: VFP300.ESL Goes in System Directory, Not App's DirectoryLast reviewed: July 27, 1995Article ID: Q133143 |
The information in this article applies to:
SYMPTOMSBy design, the Setup Wizard places the Visual FoxPro version 3.0 runtime library (VFP300.ESL) into the \Windows\System subdirectory instead of the directory where the rest of the application files are installed. NOTE: The advantage of keeping the VFP300.ESL in the \Windows\System subdirectory is that you can have multiple Visual FoxPro applications share a single VFP300.ESL runtime library.
RESOLUTIONTo install the runtime library (VFP300.ESL) into the application directory instead of the \Windows\System subdirectory, as the FoxPro version 2.x Setup Wizard does, follow these steps:
SET LIBRARY TO SYS(2004)+"FOXTOOLS.FLL" ADDITIVEHere FOXTOOLS.FLL is a file in the application directory. This approach does have a disadvantage. Each Visual FoxPro application must have its own copy of the runtime library. A better approach is to replace all SYS(2004) references with SYS(16). The SYS(16) function returns the application path and at the same time allows you to take advantage of having multiple Visual FoxPro applications sharing a single VFP300.ESL runtime library.
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce Problem
|
Additional reference words: 3.00 VFoxWin
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |