Use /Zi to Compile Commands Invoked with "?" Command (43556)
The information in this article applies to:
- Microsoft CodeView for MS-DOS 3.0
- Microsoft CodeView for MS-DOS 3.11
- Microsoft CodeView for MS-DOS 3.14
- Microsoft CodeView for MS-DOS 4.0
- Microsoft CodeView for MS-DOS 4.01
- Microsoft CodeView for MS-DOS 4.05
- Microsoft CodeView for MS-DOS 4.1
- Microsoft CodeView for Windows 3.0
- Microsoft CodeView for Windows 3.05
- Microsoft CodeView for Windows 3.06
- Microsoft CodeView for Windows 3.07
- Microsoft CodeView for Windows 4.0
- Microsoft CodeView for Windows 4.01
- Microsoft CodeView for Windows 4.1
This article was previously published under Q43556
Invoking C functions in CodeView using the "?" 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 "syntax error" or "symbol 'xxxx' not found."
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 "?" 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 "?" command is formally referred to in the CodeView Utilities menu
as the Display Expression command.
Modification Type: | Major | Last Reviewed: | 10/23/2003 |
---|
Keywords: | kb16bitonly kbBug kbDebug KB43556 |
---|
|