• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2163
  • Last Modified:

object file was compiled in different version of fox pro

object file e:\modu\menu.fxp was compiled in different version of fox pro.
i have using this application for years back.but after installing visual fox pro i always get this error.i have no idea how to compile the my age old application in newer visual fox pro.is there a way round.
0
manishjha18
Asked:
manishjha18
1 Solution
 
Olaf DoschkeSoftware DeveloperCommented:
fxp is a compiled prg or mpr file, and no source code. AFAIK not only foxpro source code, but also FXP object code are rather compatible, downward compatible that is, if an FXP does contain a command or function only available in higher VFP versions, you'll get this error, though.

By installing VFP you may have overridden the default VFP runtime, that is taken, if an fxp is run. But if it worked before, you must still have the older or newer runtimes installed somewhere, putting them in the same dir as the fxp may make it work again, if started from outside your VFP IDE.

You need the mpr or prg to recmopile with the installed VFP version.

Bye, Olaf.
0
 
pcelbaCommented:
Every new VFP installation redirects familiar file type assignments to itself. If you are executing your old FoxPro application (FXP or APP file type) by doubleclicking its icon then it always invokes the latest installed VFP version to run it.

Beside the Olaf's solution which is recommended you may try more difficult ways, e.g. to recompile all source code of your old application in new VFP version - you'll find many places which will not work properly or even produce some compilation errors.

If you have no source code of your old app then a possibility to regenerate it still exists - look for FoxPro decompilers on the web.
0
 
tusharkanvindeCommented:
Since it is the FXP, the requirement to run it is the complete foxpro package and not just the runtime files. You will have to install the correct version of the software or check if the correct version is already installed on your computer and change the association of the FXP extension to that version.

Otherwise as pcelba said, use a decompiler like ReFox though that may not work in you case as you have most probably installed a previous version of foxpro  and the FXP has commands that are not supported by it.

If the FXP file is not large, you can attach it here. I can test it against VFP6,7 and 9 and tell you on which it works.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
manishjha18Author Commented:
thanks for response--
here is the link of fxp file--http://cid-414ccc772f706049.skydrive.live.com/self.aspx/Public/modu.zip
..
can any one tell me how can i decompile--i am really noob here--
0
 
manishjha18Author Commented:
guys --you are genius--tried refox--it worked--hats off--
give me 1 more day--would see that the whole programme works
0
 
manishjha18Author Commented:
yeah one problem--i cant see the whole options--i mean they are there but in white colour-when i press enter the first option gets selected
0
 
manishjha18Author Commented:
and i cant quit fox pro--

sorry off topic --how can i merge my all questions here-
0
 
manishjha18Author Commented:
and can i edit--tusharkanvinde:--can you do this for me--just need better interface--or simply better colour--
0
 
tusharkanvindeCommented:
Sorry Manish.

I have once been told by the moderator here not to answer multiple questions in one question. Thats seems to be the rule of this site.
0
 
manishjha18Author Commented:
ok thanks --would be really nice if you can answer my questions-i had no idea of this rule--
at least how can i modify it--i have refox--just wanted to change the fonts and colour
0
 
manishjha18Author Commented:
thanks a lot--can u tell me how to edit it--please--
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now