PRB: Calling IOleObject::InitFromData Returns E_NOTIMPL

Last reviewed: May 17, 1995
Article ID: Q108312
The information in this article applies to:
  • Microsoft OLE version 1.0
  • Microsoft OLE Libraries for Windows and Win32s, versions 2.0 and 2.01
  • Microsoft OLE Libraries, included with:

        - Microsoft Windows NT, versions 3.5 and 3.51
        - Microsoft Windows 95
    

SYMPTOMS

After an OLE 2.0 container successfully returns from a call to OleCreate(), a subsequent call to IOleObject::InitFromData() returns with a failure of E_NOTIMPL.

CAUSE

The object being manipulated is an OLE 1.0 object.

RESOLUTION

This is a limitation of an OLE 1.0 server application. Contact the manufacturer of the server application to find out the availability of an OLE 2.0-compliant version of the server.

MORE INFORMATION

OLE 1.0 does not have a feature equivalent to IOleObject::InitFromData, and therefore the OLE 2.0 libraries cannot synthesize this functionality in the OLE 1.0 compatibility layer.

If the object application is an OLE 2.0-compliant application, the error is returned by the object application's implementation of this method.


Additional reference words: 1.00 2.00 2.01 3.50 4.00
KBCategory: kbole kbprg kbprb
KBSubcategory: LeTwoArc


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