The information in this article applies to:
SUMMARYThe following keywords were first introduced with Microsoft C version 6.0: _basedVariables of type _segment are defined to hold a memory segment address. With based variables, a base must be named to specify where the data resides. The base can be of type _segment, or can be a near or a far pointer. However, if the base is an expression, even of one of the types listed above, the following error is produced: NOTE: In Microsoft Visual C++ 32-bit Edition, version 2.0, the _segment keyword was removed and the functionality of the __based keyword changed. In 32-bit compilations, pointers based on pointer addresses are the only forms of __based valid. In such compilations, these pointers are 32-bit displacements from a 32-bit base. For more information, search for "based addressing" in the online documentation included with Visual C++ 32-bit Edition. MORE INFORMATION
Microsoft has confirmed that this is a restriction, although it is not
documented as such.
The following declaration
produces the following error:
The following declaration
produces the following error:
Additional query words: 6.00 6.00a 6.00ax 7.00 8.00 8.00c 9.00 1.00 1.50 2.00
Keywords : kbdocfix kbCompiler |
Last Reviewed: February 2, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |