Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP TMPFILES SYS(2023) location goofing-up
Message
From
30/07/2002 14:41:59
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
VFP TMPFILES SYS(2023) location goofing-up
Miscellaneous
Thread ID:
00684098
Message ID:
00684098
Views:
84
I have a VFP COM MTDLL that every-so-often get's it's SYS(2023) -TMPFILES folder goofed-up. Basically I do the following:
CREATE CURSOR (SomeCursorName) (SomeFieldName C(15))
INDEX ON SomeFieldName TAG SomeTagName

About every 6-8 hits the system errors on the INDEX ON line with error number 202 "Invalid path or file name.".

Here's the details in the error I have found:


SYS(2023) = "PLICATION\DATA"
DBF("SomeCursorName") = "C:\DEV\APPLICATION\PLICATION\DATA\1PDW00V7.TMP"


If the error does not occur here's the same information (except the .tmp file name would be different):

SYS(2023) = "C:\DEV\APPLICATION\CACHE"
DBF("SomeCursorName") = "C:\DEV\APPLICATION\CACHE\1PDW00V7.TMP"


The most interesting thing here is the complete jack-up of the SYS(2023) value! Somehow, VFP is getting a bad value in it's TMPFILES location, if appears to be a mix of CURDIR() and SET('PATH') as my CURDIR() would be C:\DEV\APPLICATION and one of the paths is "DATA\".
Anyone have any idea on this one?

Bob Murphy
Next
Reply
Map
View

Click here to load this message in the networking platform