Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running object code
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00901152
Message ID:
00901168
Views:
26
>Anyone know if there is a way of running a string of object code without having to write it out to a .fxp file?
>
>The idea would be to read a program in, compile it, store the compiled object code in a memo field and then run that object code direct from the memo field.
>
>I have tried using both Execscript() and TextMerge() but these only work on source code. The only command that seems to work on object code is DO but that only works from a physical file, unless anyone knows how to redirect a filename to come from a string.
>
>Thanks,
> NickC

Hi Nick,

Just wondering, why would you need to do it this way? If you read the program in, therefore the source code exists initially. Security reasons?
Anyway, why not store FXP in memo field and then write it on disk, execute and delete it?
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform