Microsoft KB Archive/132973

= FIX: OLE Automation After Loading Word Manually Gives GP Fault =

Article ID: 132973

Article Last Modified on 3/24/2000

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition

-



This article was previously published under Q132973



SYMPTOMS
The following error occurs when you run a program that contains an OLE Automation command in Microsoft Visual FoxPro for Windows after manually opening an existing document in Microsoft Word for Windows:

                       Application Error WINWORD caused a General Protection Fault in             module COMPOBJ.DLL at 0002:0AB6.

This problem occurs only when running Microsoft Visual FoxPro for Windows in the Win32s environment.



CAUSE
Microsoft Visual FoxPro for Windows ships with Win32s version 1.25.142. Win32s is required when running Microsoft Visual FoxPro for Windows in a 16- bit operating system such as Windows version 3.1 or Windows for Workgroups version 3.11.



STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual FoxPro 3.0b for Windows.



Steps to Reproduce Problem
  Create a program called TEST.PRG containing the following code: oleApp = CREATEOBJECT("Word.basic")  Run TEST.PRG at the Visual FoxPro Command window. Manually start Word for Windows. Open an existing document in Word for Windows. Exit Word for Windows.</li> Run TEST.PRG from the Visual FoxPro Command window.</li></ol>

Additional query words: VFoxWin GPF fixlist3.00b buglist3.00

Keywords: kbbug kbfix KB132973

-

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

© Microsoft Corporation. All rights reserved.