KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q43508: CodeView: View Command Fails with Underscore in Filenames

Article: Q43508
Product(s): See article
Version(s): 2.20   | 2.20
Operating System(s): MS-DOS | OS/2
Keyword(s): ENDUSER | buglist2.20 | mspl13_basic
Last Modified: 3-MAY-1989

Assume that two source files, MAINPROG.C and FILE_NAM.C, have been
compiled with CodeView information. The main function in MAINPROG.C
calls a function in FILE_NAM.C.

When the following command is executed in CodeView, CodeView responds
with "syntax error":

   V.FILE_NAM.C

When FILE_NAM.C is renamed and recompiled as FILENAM.C, the following
command works properly, and the source code in FILENAM.C is displayed:

   V.FILENAM.C

Attempts to open a file with an underscore character will work
correctly through the "Open" menu in CodeView, but will fail with the
View command.

Microsoft has confirmed this to be a problem in Version 2.20. We are
researching this problem and will post new information as it becomes
available.

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.