Q58718: CVPACK May Lose Type Information in Large Files
Article: Q58718 Product(s): See article Version(s): 2.01 3.01 | 2.01 3.01 Operating System(s): MS-DOS | OS/2 Keyword(s): ENDUSER | s_cvpack s_codeview | mspl13_basic Last Modified: 5-FEB-1991 Certain type information such as that required to expand a structure using the "?? <structurename>" command in CodeView can be lost in large files when using CVPACK. Running CVPACK on very large executables may remove such information from the file. Before running CVPACK, internal information can be viewed and members can be expanded on structures; after CVPACK, only the structure's address is viewable. The reason this occurs is that CVPACK is stripping out information that CodeView needs to correctly display pointers to far data. In this case, CodeView attempts to provide information on the pointers to far data in the structure, but the information it gives is not correct. Observing the change in the structure's segment address before and after using CVPACK shows that this address changes while the offset address remains the same. Therefore, the correct information cannot be displayed, and CodeView emits a warning beep instead of showing the expanded structure elements.
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.