Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object file xxx was compiled in a previous version of Fo
Message
From
09/03/2011 03:19:19
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
08/03/2011 16:16:01
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01502960
Message ID:
01502985
Views:
54
>Hello,
>
>When I try to run an FXP file which is compiled in FPW 2.6 I get the error
>
>
>Object file "file" was compiled in a previous version of FoxPro (Error 1195)
>
>
>Is there a way to get the file executed without recompiling, because it still has to be used in the FPW version as well?

Make a copy elsewhere, compile the copy and run that.

I know that's not what you wanted to hear, but so it is.

Alternately, you can filetostr() the prg, then execscript() it. That will create a fxp on your tmpfiles folder and destroy it later, which is pretty much the same as above, just a bit automatic.

Note that you'll run into problems if there are any path dependencies, such as #include files or calling other prgs from it. If that's the case, a wholesale copy of the whole FPW project to another folder before running any of that, then recompiling it (or some other way of keeping it in sync with the original) may be the way to go.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform