Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP TMPFILES SYS(2023) location goofing-up
Message
De
30/07/2002 14:41:59
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
VFP TMPFILES SYS(2023) location goofing-up
Divers
Thread ID:
00684098
Message ID:
00684098
Vues:
85
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform