General information
Title:
VFP TMPFILES SYS(2023) location goofing-up
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only