Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET RESOURCE in cGlobalEnv (Bug?)
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00687501
Message ID:
00688158
Views:
30
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform