Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bizarre behaviour Re: config.fp file
Message
 
À
20/01/1999 16:24:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00178235
Message ID:
00178264
Vues:
28
>>Check the command line [for] a "-c" option [...] Also, if they have a FOXPROCFG (sp?) environment variable
>
>Thanks! It works! However I am just wondering why it works for some users without the -c switch in the command line!

My guess is that where it *wasn't* working they had a FOXPROCFG environment variable pointing to a different config.fp. You shouldn't have to put the -c switch in the command line if the config.fp file is in the same directory as the exe, unless there's some other thing overriding where FoxPro looks for the config.fp.

In other words, if it were me troubleshooting this, I'd have looked for what to *remove* from the non-working computers (probably the environment var), rather than *adding* the -c to point the exe back to its default.

But (a) I wasn't troubleshooting this, (b) your solution works, (c) as usual in FoxPro, there are a number of ways to approach the problem. I'm telling you your working solution is wrong!
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform