Hello everybody,
I work in VC++ and I have an application of the
Document/view architecture which also exposes some
interfaces. This application also allows for OLE objects
(like MS Word documents) to be contained(embedded/linked).

This is my task: I want to expose an interface so that
other apllications gain access to the OLE objects of my

I thought the following. Since I have acces to my
COleClientItem(s)to declare a local variable of type
COleDataSource for example pDataSource then call
COleClientItem::GetClipboardData(pDataSource) and the
return pDataSource->GetIDispatch(TRUE);
Unfortunately this does not work when I call this function
from VBasic. Am I in the right direction and what is
Thank you in advance.