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

ID: Q87930

4.00 4.01 MS-DOS kbtool kbdocerr

The information in this article applies to:

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

Last Reviewed: July 18, 1997