Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compiling Temporary Program Now Crashing
Message
 
 
To
04/01/2007 13:13:52
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01182363
Message ID:
01182364
Views:
15
This message has been marked as the solution to the initial question of the thread.
IIRC, you need at least SP3(beter SP5) for COMPILE command to work. IOW, VFP6 runtime files are pre SP3 on the PC where it generates an error.

>Have a routine that creates, compiles and executes a temporary program. The compile command is crashing with "feature not available", error 1001.
>
>This routine has worked for years until recently. Nothing in the routine has changed. It fails in the stand-alone exe application only, but works fine in the FoxPro 6 environment. Any ideas? The source follows:
>function ProcessRecord
>lParameters lcRoutine
>
>*-- save the current routine
>copy memo --from a field in a table-- to &jcTempFolder.\&lcRoutine..Prg
>            *-- I confirmed the above program is still correct
>compile &jcTempFolder.\&lcRoutine..Prg
>            *-- The above command is the one that crashes
>*--  and execute
>do &jcTempFolder.\&lcRoutine..Fxp
>
>return
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform