Microsoft KB Archive/103722: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - """ to """)
 
Line 47: Line 47:
== SYMPTOMS ==
== 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:
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:
<div class="errormessage">
<div class="errormessage">



Latest revision as of 09:28, 20 July 2020

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