Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sys(2019) returns Empty String if config.fpw is in project
Message
From
11/02/2003 00:41:04
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Sys(2019) returns Empty String if config.fpw is in project
Miscellaneous
Thread ID:
00751778
Message ID:
00751778
Views:
191
Not sure if this is a fix in VFP8 or not, but this behavior has changed and it took me a little while to figure it out, so I'll share it... In VFP7 if you include your config.fpw in the project, which ends up being embedded in the .exe, the sys(2019) would return the name of the config file used. Now in VFP8 it returns an Empty string, eventhough it "is" using the config.fpw embedded in the .exe. So now if you want to test if a config.fpw file was used and you included it in your project, you have to do something else, like maybe set something in the config.fpw and test for that instead of using sys(2019).

Mark
Next
Reply
Map
View

Click here to load this message in the networking platform