>>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.
That was indeed not what I wanted to hear, but thanks anyway!
Christian Isberner
Software Consultant