Information générale
Catégorie:
Codage, syntaxe et commandes
>I have a small exe with no form that does a little processing and ends. When it runs I see the default FOXPRO screen flash and go away. About 3 months ago I created a CONFIG.FPW file with the line SCREEN=OFF in it and that took care of my flashing screen up until today.
>
>All of a sudden it started. Now everytime I run it I see the FOXPRO screen while the form is working then it goes away.
>
>I did move my source to another machine but that is the only difference.
>
>Any ideas? What makes my program read the CONFIG.FPW file? Isn't it done by default when it runs and is in that same directory?
>
>Thanks...
>
>Tommy
A couple of things to check:
1. If the config file is not built into the .exe, make sure it got moved with your other files.
2. The config file is called with the -c switch when calling your application e.g. 'c:\dir\myprog.exe -cconfig.fpw'. Make sure that if you start your app form a desktop icon that the -c switch and file reference are still there.
3. A lot of frameworks create a config file automatically with some sort of application wizard. Make sure this hasn't happened and over written your file. FWIW I never name my file config.fpw, I always key it to the app name - myapp.cfg.
John
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement