Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unable to run 2.6 in XP
Message
From
07/10/2002 12:26:17
 
 
To
07/10/2002 11:47:02
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00708392
Message ID:
00708408
Views:
8
>Has anyone received and error message 'Cannot create program workspace: File Access Denied' when trying to run a 2.6 application in and XP environment? Any suggestions on how to get past the error would be appreciated.
>

Several things come to mind - the first being user permissions in all directories, including the directory that FP2.6 expects to use for its workspace. You may want to use a CONFIG.FP or CONFIG.FPW to specify the location to use via the TMPFILES= entry; you can assign a custom CONFIG.FP (DOS) using the FOXPROCFG environment variable, or CONFIG.FPW (FPW, VFP) using the FOXPROCFGW environment variable.

A separate issue not indicated by the error message above may make it necessary to adjust the memory allocation for the host VDM (XP starts a separate virtual process to host DOS/Win16 apps); the exact settings will vary slightly, but assigning conventional memory allocation to AUTO, disabling all EMS/XMS memory allocation and enabling up to 15384K of DPMI memory for apps running under FPW or FPDOS Extended, or disabling both DPMI and XMS, and setting EMS to no more than 15384K for FPDOS Standard should address the memory issues. You'd do this by creating a .PIF for the executable through Windows Explorer (right click on the executable under Windows Explorer, select Properties, and make the needed adjustments.)
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform