INFO: MFC OLE Classes Do Not Support "Embed in self"
Article ID: 121949
Article Last Modified on 11/21/2006
APPLIES TO
- Microsoft Foundation Class Library 4.2, when used with:
- Microsoft Visual C++ 1.51
- Microsoft Visual C++ 2.0 Professional Edition
- Microsoft Visual C++ 4.0 Standard Edition
- Microsoft Visual C++ 4.1 Subscription
- Microsoft Visual C++ 5.0 Standard Edition
- Microsoft Visual C++ 6.0 Service Pack 5
- Microsoft Visual C++ .NET 2003 Standard Edition
- Microsoft Visual C++ .NET 2002 Standard Edition
This article was previously published under Q121949
SUMMARY
The MFC OLE classes in the versions listed above do not
include the ability for a container/server to embed items of its own type
within an instance of itself.
Users attempting to embed an OLE item
from the container/server into itself will receive the "Failed to create
object. Check system registry" dialog box. Further debugging will show that
QueryInterface failed to return the IViewObject interface for the embedded
item.
Additional query words: OLE embed kbvc150 kbvc151 kbvc200 kbvc400 kbvc410 kbvc500
kbvc600 kbvc600
Keywords: kbautomation kbinfo kblocalsvr KB121949