Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trouble with Config.fpw
Message
From
06/04/2001 16:13:21
Charles Symons
Lyme Software Development Inc.
Lyme, Connecticut, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Trouble with Config.fpw
Miscellaneous
Thread ID:
00493044
Message ID:
00493044
Views:
70
So that a FoxPro COM DLL called from an ASP page will know where to write it's .TMP files, I created a config.fpw file with TMPFILES=C:\TEMP and put it into the C:\WINNT\SYSTEM32 folder.

To assist with debugging, the COM object makes a call to SYS(2023), the path where Visual FoxPro stores its temporary files as well as a call to SYS(2019) the Configuration File Name and Location.

I am testing on Windows NT 4.0 and Windows 2000

The call to SYS(2023) is returning "C:\WINNT\SYSTEM32" on the Windows NT 4 machine and "C:\WINNT\TEMP" on Windows 2000.

The call to SYS(2019) is returning empty in both cases.

What is going on...

Can it be that FoxPro COM DLLs ignore config.fpw

It appears that FoxPro uses the System's TEMP and TMP environment variables to specify the location of temporary files created during FoxPro operations.

Can any body confirm - TIA
Next
Reply
Map
View

Click here to load this message in the networking platform