Microsoft KB Archive/108312

= PRB: Calling IOleObject::InitFromData Returns E_NOTIMPL =

Article ID: 108312

Article Last Modified on 3/3/2005

-

APPLIES TO

 Microsoft OLE 4.0 Microsoft OLE 2.03 Microsoft OLE 4.0, when used with:  Microsoft Windows NT 4.0

 Microsoft Windows NT 3.51 Service Pack 5

 Microsoft Windows 95</li></ul> </li></ul>

-

<div class="notice_section">

This article was previously published under Q108312

<div class="symptoms_section">

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.

<div class="cause_section">

CAUSE
The object being manipulated is an OLE 1.0 object.

<div class="resolution_section">

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.

<div class="moreinformation_section">

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 query words: 1.00 2.00 2.01 3.50 4.00

Keywords: kbprogramming kbprb KB108312

-

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

© Microsoft Corporation. All rights reserved.