PRB: Inserting OLE Object Causes General Protection Fault

Last reviewed: April 30, 1996
Article ID: Q116482
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 3.0
  • Microsoft FoxPro for Windows, versions 2.5x, 2.6x

SYMPTOMS

When running a 16-bit version of Microsoft Windows (Windows versions 3.x), while you are editing a general field, if you choose Insert Object from the Edit menu, and then choose the File button, a general protection (GP) fault will occur.

CAUSE

The problem is caused by a corrupted REG.DAT file. The REG.DAT file contains information about file associations and object-linking-and- embedding (OLE) objects.

RESOLUTION

For information on how to resolve this problem, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q80393
   TITLE     : How to Rebuild the Default Windows REG.DAT File

MORE INFORMATION

Steps to Reproduce Problem

  1. Open and browse a database that contains a general field.
2. Double-click the general field. 3. From the Edit menu, choose Insert Object. 4. Select an item, and then choose the File button.

If the REG.DAT file is corrupted, the GP fault will occur.


Additional reference words: FoxWin VFoxWin 2.50 2.50a 2.50b 2.60 2.60a
3.00 errmsg err msg gpf "error creating OLE object" 3.10 3.11 registry
KBCategory: kbprg kberrmsg kbprb
KBSubcategory: FxinteropOle


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: April 30, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.