BUG: "Not a Character Expression" Message When Running .EXE

Last reviewed: April 18, 1995
Article ID: Q102046
The information in this article applies to:
  • Microsoft FoxPro for MS-DOS, versions 2.5x, 2.6, 2.6a

SYMPTOMS

The error message "Not a character expression" occurs when you attempt to launch a FoxPro stand-alone standard executable file.

CAUSE

This error occurs when either the last condition or all of the following conditions are true:

  • The executable is compiled as STANDALONE STANDARD.
  • There is a STATUS=ON or SCOREBOARD=ON entry in the CONFIG.FP file.
  • There is an even number of characters in the full path to the executable file (beginning with the drive letter and including the colon and backslashes).

RESOLUTION

To work around this problem, do one of the following:

  • Remove STATUS=ON and SCOREBOARD=ON from the CONFIG.FP file and issue a SET STATUS OFF or SET SCOREBOARD OFF command (both are optional) in the executable file's top-level calling program.

    -or-

  • Change the length of the executable's filename or any directory in the path by an odd number of characters.

    -or-

  • Compile the executable file as either STANDALONE EXTENDED or COMPACT.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


Additional reference words: FoxDos 2.50 2.50a 2.50b 2.60 2.60a dk
distribution kit exe errmsg err msg 2.50b 2.60 buglist2.50 buglist2.50a
buglist2.50b buglist2.60 buglist2.60a
KBCategory: kbprg kberrmsg kbbuglist
KBSubcategory:


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 18, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.