DOCERR: CV 4.0 Requires Re-link; CVPACKing Is Not Sufficient

Last reviewed: July 17, 1997
Article ID: Q87930
4.00 4.01 MS-DOS kbtool kbdocerr

The information in this article applies to:

  • Microsoft CodeView for MS-DOS, versions 4.0 and 4.01

The following information comes from page 744 of the "Environment and Tools" manual supplied with Microsoft C/C++ version 7.0:

   Earlier formats of debugging information and CVPACK-packing are not
   compatible with CodeView 4.0. If an executable file contains
   debugging information in an earlier format but has not been packed,
   packing with CVPACK 4.0 is all that is needed for the file to run
   in CodeView 4.0.

This information is not correct. If the source code is to be made available, the executable file must have first been linked with LINK 5.3 and then CVPACKed with CVPACK version 4.0. If an executable has been compiled and linked with tools that support an earlier version, CodeView will give the following warning:

   CV0103: Warning: relink 'filename' with the current linker

If the instructions given above are followed and the executable is CVPACKed without having been re-linked, CodeView will violate system integrity when run under Windows.


Additional reference words: 4.00 docerr
KBCategory: kbtool kbdocerr
KBSubcategory: CvwIss
Keywords : kb16bitonly


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.

Last reviewed: July 17, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.