Information générale
Catégorie:
The Mere Mortals Framework
After compiling my .exe with VFP 5.0 and v 3.02 of MM, when I run a report I get a message that there is not enough space to create y:\foxuser.fpt. To my knowldege, I've never even referenced the y:\ drive in any code.
It is my understanding that the framework will set the resource file to the one found in the home directory. (cGlobalenvironment does this work.) I put in some wait windows to trap the value of my resource file, but when running an .exe, the wait windows don't fire. They do fire when I run it as program in debug mode.
If I put a copy of the foxuser.dbf in the same folder where the data folder is kept on a network drive, everything runs just fine, but this effectively renders the entire application as single user! If I hard code the path and name of the foxuser.dbf in the cGlobalEnvironment.cResourceTo Property, it works fine, but this is not always desirable if the user changes the directory name during the setup (installation) procedure. Setting the resource in the config.fpw does not seem to do any good either. It's like it is totally ignored.
If anybody knows what's going on, I'd really like to hear from you.
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