Microsoft KB Archive/43556

= Use /Zi to Compile Commands Invoked with &quot;?&quot; Command =

Article ID: 43556

Article Last Modified on 10/23/2003

-

APPLIES TO


 * Microsoft CodeView 3.0
 * Microsoft CodeView 3.0
 * Microsoft CodeView 3.0
 * Microsoft CodeView 4.0
 * Microsoft CodeView 4.01
 * Microsoft CodeView 4.01
 * Microsoft CodeView 4.1
 * Microsoft CodeView 3.0
 * Microsoft CodeView 3.05
 * Microsoft CodeView 3.06
 * Microsoft CodeView 3.07
 * Microsoft CodeView 4.0
 * Microsoft CodeView 4.01
 * Microsoft CodeView 4.1

-



This article was previously published under Q43556



Invoking C functions in CodeView using the &quot;?&quot; command works as expected as long as the function is contained in a module that was compiled with /Zi for the CodeView information. However, an attempt to directly call a function in the C run-time library or in the Windows application programming interface (API), CodeView returns the error message &quot;syntax error&quot; or &quot;symbol 'xxxx' not found.&quot;

The reason for the error message is that the module containing the library function is not compiled with the CodeView option /Zi. The error message does not depend on the fact that the function is in the library and not in your application. If you use the &quot;?&quot; command to attempt to call a user-defined function in a module that is compiled without including CodeView information, CodeView returns the same error message.

The &quot;?&quot; command is formally referred to in the CodeView Utilities menu as the Display Expression command.

Additional query words: kbinf 3.00 3.50 4.00 4.10

Keywords: kbbug kb16bitonly kbdebug KB43556

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.