FIX: __far Not Accepted in CodeView 4.0x Watch Window

Last reviewed: September 16, 1997
Article ID: Q103722
4.00 4.01 | 4.00 4.01
MS-DOS    | WINDOWS
kbtool kbbuglist kbfixlist

The information in this article applies to:

  • Microsoft CodeView for MS-DOS, versions 4.0 and 4.01
  • Microsoft CodeView for Windows, versions 4.0 and 4.01

SYMPTOMS

The keyword __far generates an error when used in a variable watch expression; for example, "(char __far *) var". One of the following errors is generated, depending upon whether you have the ANSI or the C++ expression evaluator loaded:

   CAN0030: Error: expression cannot be evaluated

   -or-

   CXX0030: Error: expression cannot be evaluated

RESOLUTION

To work around the problem, use the keyword _far or far instead of __far.

STATUS

Microsoft has confirmed this to be a problem in CodeView for MS-DOS versions 4.0 and 4.01 and CodeView for Windows versions 4.0 and 4.01. The problem was corrected in CodeView version 4.1.


Additional reference words: 4.00 4.10
KBCategory: kbtool kbbuglist kbfixlist
KBSubcategory: CvwIss
Keywords : kb16bitonly
Solution Type : kbfix


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: September 16, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.