PRB: "Object File Is the Wrong Version" Error

ID: Q93335

The information in this article applies to:

SYMPTOMS

An attempt to run an object file (with the .APP, .EXE, or .FXP extension) in FoxPro version 2.5 fails with an "Object file <filename> is the wrong version" error message.

CAUSE

The object code format for FoxPro versions 2.5 and 2.5a differs from that of earlier versions.

This error can also occur if the FoxPro version 2.0 Distribution Kit is installed after FoxPro version 2.5 has already been installed and you try to run the application after successfully building the executable file.

RESOLUTION

To work around this problem, obtain the source code files (for example, the .PRG and .SCX files) and rebuild the application for FoxPro version 2.5 or 2.5a.

Additional reference words: FoxDos FoxWin 2.50 2.50a errmsg err msg KBCategory: kbprg kberrmsg kbprb KBSubcategory: FxtoolGeneral

Last Reviewed: June 27, 1995