Microsoft KB Archive/99812

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

Article ID: 99812

Article Last Modified on 12/12/2003

-

APPLIES TO


 * Microsoft Visual Basic 2.0 Standard Edition
 * Microsoft Visual Basic 3.0 Professional Edition
 * Microsoft Word 2.0a
 * Microsoft Office Word 2003
 * Microsoft Word 2.0c

-



This article was previously published under Q99812



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.



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 query words: 3.00 WinWord 2.00

Keywords: kbbug KB99812

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.