BUG: GP Fault with Visual Basic DDE Sample & Word for Windows

Last reviewed: June 21, 1995
Article ID: Q99812
The information in this article applies to:

- Microsoft Visual Basic for Windows, versions 2.0 and 3.0 - Microsoft Word for Windows, versions 2.0a, 2.0b, and 2.0c

SYMPTOMS

Running the Visual Basic DDE sample with Microsoft Word for Windows may cause a general protection (GP) fault.

STATUS

Microsoft has confirmed this to be a problem with Microsoft Word for Windows versions 2.0a, 2.0b, and 2.0c. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Problem

  1. Start Word for Windows (WINWORD.EXE).

  2. Start Visual Basic version 3.0 for Windows.

  3. From the File menu, choose Open Project (ALT, F, O). Then open the DDE.MAK project from the \VB\SAMPLES\DDE directory.

  4. From the Run menu, choose start (ALT, R, S), or press F5. The main form of DDE.MAK is titled DDE Experimenter.

  5. From the DDE Experimenter form, select WinWord as the Application and Document1 as the Topic. The Item automatically becomes \Doc.

  6. Select the Manual option.

  7. Click the Connect button. The caption for the command button will change to Disconnect.

  8. Type text into the text box in the Destination Data section of the DDE Experimenter form.

  9. Click the Poke button.

  10. Select the Automatic option.

At this point, a GP fault occurs in USER.EXE. The address of the GP fault varies depending on the version of Word for Windows. Although the message indicates that Visual Basic caused the GP fault, the problem is actually caused by Word for Windows, not Visual Basic.


Additional reference words: 3.00 WinWord 2.00
KBCategory: kbinterop kbprg kbbuglist
KBSubcategory: IAPDDE


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