FIX: GP Fault When Copying Between Two Resource Scripts

Last reviewed: September 18, 1997
Article ID: Q120577
2.00 WINDOWS NT kbtool kbprg kbfixlist

The information in this article applies to:

  • Microsoft Visual C++, 32-bit Edition, version 2.0 on these platforms: x86, MIPS

SYMPTOMS

When you use the Resource Browser feature to copy and paste multiply selected resources between two resource scripts, Visual C++ may terminate with a general protection (GP) fault. This problem occurs only if one of the selected resources being copied is a string table, and the resource script being copied to contains a string table.

RESOLUTION

Avoid selecting string tables when doing copy and paste with multiply selected resources.

STATUS

Microsoft has confirmed this to be a bug in the products listed at the beginning of this article. This problem was not reproducible in Microsoft Visual C++, 32-bit Edition, version 4.0.

MORE INFORMATION

Steps to Reproduce Problem

  1. Open or create a resource script that contains one or more string tables and at least one other resource. A second resource script must contain at least a string table.

  2. Expand all of the resources.

  3. Select some or all of the resources including the string table and at least one other resource type. You can use the Shift+mouseclick selection.

  4. Copy the resources using either the keyboard commands or by choosing Copy from the Edit menu.

  5. Paste the resources into the other script.

  6. Click OK to the message box that says "String tables cannot be merged. Open string tables and copy individual strings."

At this point, a GP fault occurs.


Additional reference words: VC++ DIALOG GPF buglist2.00
KBCategory: kbtool kbprg kbfixlist kbbuglist
KBSubCategory: AppStudioIss
Keywords : kbbuglist kbfixlist kbprg kbtool
Version : 2.00
Platform : NT WINDOWS
Solution Type : kbfix


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: September 18, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.