BUG: Application Errors From Long Text in the Dialog Editor

Last reviewed: January 5, 1995
Article ID: Q99134
The information in this article applies to:
  • Microsoft Windows Software Development Kit (SDK) for Windows version 3.1

SYMPTOMS

An attempt to use the Dialog Editor provided with version 3.1 of the Microsoft Windows Software Development Kit (SDK) fails and an application error occurs under either of the following circumstances:

  • Choose Order/Group from the Arrange menu when the dialog box contains two or more controls, one control is a static text control, and the title of the text control is 256 characters long (the limit). (Setting a 256 character title may also generate a general protection [GP] fault.)
  • In test mode, enter more than 175 characters into a multiline edit control, then press BACKSPACE. A GP fault also occurs.

RESOLUTION

Avoid using long names (more than 255 characters) for a static text control and use the test mode carefully when the dialog box contains a multiline edit control.

STATUS

Microsoft has confirmed this to be a bug in the Dialog Editor provided with the Microsoft Windows Software Development Kit, version 3.1. We are researching this problem and will post more information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

To re-create the first problem, perform the following seven steps:

  1. Run the Dialog Editor.
2. Choose New from the File menu. 3. Click the static text control button on the toolbar. 4. Click in the dialog box to add a control to the dialog box. 5. Click the static text control button on the toolbar. 6. Click in the dialog box to add another control to the dialog box. 7. Choose Order/Group from the Arrange menu.

An application error occurs followed by a GP fault.

To re-create the second problem, perform the following nine steps:

  1. Run the Dialog Editor.
2. Choose New from the File menu. 3. Click the edit control button on the toolbar. 4. Click in the dialog box to add a control to the dialog box. 5. Choose Styles from the Edit menu. 6. Select the Multiline option and choose OK. 7. Choose Test Mode from the Options menu. 8. Type more than 175 characters into the edit control. 9. Press BACKSPACE

An application error occurs followed by a GP fault.


Additional reference words: buglist3.10 3.10 GP Fault Exception 0x0D gpf gp-
fault
KBCategory: kbprg kbbuglist
KBSubcategory: TlsDlg


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: January 5, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.