Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why fopen gives old version of config.fpw
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00490790
Message ID:
00491625
Vues:
9
>>>I change something in my config.fpw and when i do an FOPEN and FPUTS in my app to read the config.fpw, I get the prechange version of config.fpw. What is up with that?
>>>
>>>Brenda
>
>>VFP buffers everything. You need to exit and restart VFP to have it see the changes.
>
>I thought it might be something like that so I did completely close VFP twice and even ran myapp.exe from out side VFP (with messageboxes to show the contents) and still the old config.fpw. BTW - I did the updates to config.fpw in notepad.
>
>Saw a CLEAR PROGRAM in the help files and thought that might do the trick. Still not sure if CLEAR PROGRAM did help because the config.fpw was inconsistent.
>
Did you by chance include the config.fpw in you app? If you did, you will always get the version that was compiled in when reading from your app rather than what is on disk.
Cy Welch
Senior Programmer/Analyst
MetSYS Inc
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform