Microsoft KB Archive/103722

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Knowledge Base


FIX: __far Not Accepted in CodeView 4.0x Watch Window

Article ID: 103722

Article Last Modified on 10/23/2003



APPLIES TO

  • Microsoft CodeView 4.0
  • Microsoft CodeView 4.01
  • Microsoft CodeView 4.0
  • Microsoft CodeView 4.01



This article was previously published under Q103722

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 query words: 4.00 4.10

Keywords: kbfix kb16bitonly KB103722