Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/103722

From BetaArchive Wiki
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