Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET RESOURCE in cGlobalEnv (Bug?)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00687501
Message ID:
00688158
Vues:
27
Armin,

>I experienced some strange behaviour when running an exe without a resource file. In CONFIG.FPW and CGlobalEnvironment I set RESOURCE=OFF, so the application ran without a resource file. When the application was terminated CGlobalEnvironment did a SET RESOURCE TO c:\windows\system32\foxuser.dbf, which is the VFP default foxuser file in an exe. This automatically set RESOURE=ON. To turn this behaviour off, I've put the IF around the following code and everything works fine now.

As usual, you're right on the money! I've made the change you've posted and given you credit in the What's New Guide.

Thanks,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform