KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q48689: CodeView Version 2.20 Is Called CVPCK.EXE by DOS Version 2.10

Article: Q48689
Product(s): See article
Version(s): 2.20
Operating System(s): MS-DOS
Keyword(s): ENDUSER | CV CVPCK CVPACK 2.x | mspl13_basic
Last Modified: 21-SEP-1989

Question:

When trying to invoke CodeView Version 2.20 under DOS Version 2.10 or
2.11, I get the messages "Cannot Find CVPCK.EXE" and "Please enter new
program spec:". How can I get CodeView 2.20 to work under DOS Versions
2.1x?

Response:

If you rename CV.EXE to CVPCK.EXE, you can run CodeView Version 2.20
under DOS Version 2.10 or 2.11. You must also rename CV.HLP to C.HLP
to make the on-line help accessible.

CodeView Version 2.20 is included with C Version 5.10, FORTRAN Version
4.10, Pascal Version 4.00, and Macro Assembler (MASM) Version 5.10.

Many people mistakenly assume that CodeView is actually looking for
CVPACK.EXE, which also comes with the software packages listed above.
If you rename CVPACK.EXE to CVPCK.EXE and then try to run CVPCK.EXE,
you will receive the error message "overlay not found." If you receive
this error, delete CVPCK.EXE, copy both CV.EXE and CVPACK.EXE from the
installation disks, and follow the instructions above.

Under DOS Versions 3.x, a C program's name is available from argv[0].
Under DOS Versions 2.x, argv[0] always equals the letter "C", so
programs that need to find themselves under DOS Versions 2.x also have
their own names hard coded as the filename to locate. Unfortunately,
the hard-coded name within CodeView Version 2.20 is "CVPCK.EXE", so
this is what it looks for under DOS Versions 2.x.

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.