Information générale
Catégorie:
COM/DCOM et OLE Automation
Titre:
Trouble with Config.fpw
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement