Microsoft KB Archive/87930

{|
 * width="100%"|

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

 * }

Q87930

-

The information in this article applies to:


 * Microsoft CodeView for MS-DOS, versions 4.0, 4.01

-

The following information comes from page 744 of the &quot;Environment and Tools&quot; 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 query words: 4.00 docerr

Keywords : kb16bitonly

Issue type :

Technology : kbAudDeveloper kbCodeView kbZNotKeyword3 kbCodeView400DOS kbCodeView401DOS