BUG: Insert Object from Zero Length File Causes GP Fault

Last reviewed: July 23, 1997
Article ID: Q108371
2.01 WINDOWS kbole kbbuglist

The information in this article applies to:

  • Microsoft OLE Libraries for Windows and Win32s, version 2.01

SYMPTOMS

Creating an object from a zero length file that does not have a valid file class extension results in a general protection (GP) fault after displaying the message, "Not enough memory to perform this operation. Close one or more applications and try again."

CAUSE

When creating an object from a file that does not have a valid class extension, the Object Packager is invoked to generate the embedded object. In the case of a zero length source file, the Packager document-level DDE window is rendered invalid before a terminate message can be sent to it.

STATUS

Microsoft has confirmed this to be a problem in the Object Linking and Embedding (OLE) libraries version 2.01.

While the operation still fails with Object Packager 3.5 under Windows NT 3.5, the Object Packager provides a better error message.


Additional reference words: 2.01 gpf gp fault
KBCategory: kbole kbbuglist
KBSubcategory: LeTwoArc
Keywords : kb16bitonly


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: July 23, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.